How do I create a template to store my HTML file when creating a web app with Python's Flask Framework in the PyCharm IDE?
As the tutorial ask you, you have to create a folder call "templates" (not "template"). In PyCharm you can do this by right-clicking on the left panel and select New I Directory. In this folder you can then create your template files (right click on the newly created folder and select New I File, then enter the name of your file with the .html extension).
By default, flask looks in the "templates" folder to find your template when you call render_template("index.html").  Notice that you don’t put the full path of your file at the first parameter but just the relative path to the "templates" folder.
I am trying to do a tutorial through FreeCodeCamp using Python's Flask Framework to create a web app in PyCharm and I am stuck on a section where it says 'Flask looks for HTML files in a folder called template. You need to create a template folder and put all your HTML files in there.' I am confused on how to make this template folder; is it just a regular folder or are there steps to create it and drag/drop the HTML files to it? Any tips or info would be of great help!!!