My CSS file attached to my python code isn't working, and I can't seem to figure out why since there are no errors and I've tried multiple ways of doing this.
Structure:
app{
|app
|templates
|public
|index.html
|env
|static
|css
|styles.css
I've attached it to index.html with
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
and in my python file I used
@app.route("/")
def index():
return render_template("public/index.html")
Everything works perfectly find but the CSS doesn't work on the page: style.css
body {
color: red;
}