My journey with Flask started off smoothly, but I hit a roadblock along the way.
Here's how my project is structured:
In the FlaskApp Folder, there are Templates (containing index.html, layout.html, styles folder, and javascript folder) and application.py.
I added my css in layout.html (layout.css and bootstrap.css) after the title tag like this:
<link rel="stylesheet" type="text/css" href="styles/layout.css">
<link rel="stylesheet" type="text/css" href="styles/bootstrap.css">
Then, at the bottom, before the </body>, I included the bootstrap JavaScript file:
<script src="javascript/boostrap.js"></script>
Next, I inserted some HTML from the Bootstrap documentation page into index.html, including alert messages...
However, no CSS seems to be applied despite restarting the Flask App.
PS: I even added:
body{ background-color: red; }
to layout.css, but it's still not working.
Thank you for your help!