This is a where we will be making the website for the Flower Website
, you can follow these steps:
-
Place your HTML file in the
templatesfolder. For example, if your file is namedexample.html, it should be located attemplates/example.html. -
Open the
app.pyfile and add a route to render your HTML file. Here's an example:from flask import Flask, render_template
app = Flask(name)
@app.route('/example') def example(): return render_template('example.html')
if name ==