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