From f63f2f54688869e9f8ba6f2030a12b89a772b9ed Mon Sep 17 00:00:00 2001 From: Mohammad Rameen Date: Sun, 31 Aug 2025 11:34:35 +0530 Subject: [PATCH] Added a forum website --- Visual Studio Code Projects/html-forms/main.py | 10 ++++++++++ .../html-forms/templates/index.html | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 Visual Studio Code Projects/html-forms/main.py create mode 100644 Visual Studio Code Projects/html-forms/templates/index.html diff --git a/Visual Studio Code Projects/html-forms/main.py b/Visual Studio Code Projects/html-forms/main.py new file mode 100644 index 0000000..ea84db5 --- /dev/null +++ b/Visual Studio Code Projects/html-forms/main.py @@ -0,0 +1,10 @@ +from flask import Flask, render_template + +app = Flask(__name__) + +@app.route('/') +def home(): + return render_template("index.html") + +if __name__ == "__main__": + app.run(debug=True) \ No newline at end of file diff --git a/Visual Studio Code Projects/html-forms/templates/index.html b/Visual Studio Code Projects/html-forms/templates/index.html new file mode 100644 index 0000000..4a1e759 --- /dev/null +++ b/Visual Studio Code Projects/html-forms/templates/index.html @@ -0,0 +1,16 @@ + + + + + + Title + + + + + + + + + + \ No newline at end of file