
William Watlington
3,347 Pointsstyles.css doesn't seem to be working?
I seem to have correctly followed the instructions in this video but can't get the colors from styles.css to work
Here's styles.css from my workspace
body {
background: beige;
color: mediumorchid
}
and here's layout.html
<!doctype html>
<html>
<head>
<title>{% block title %}Flask Basics{% endblock %}</title>
<link rel="stylesheet" href"/static/styles.css">
</head>
<body>
{% block content %}{% endblock %}
<p>Brought to you by the fine folks at Treehouse</p>
{% block scripts %}{% endblock %}
</body>
</html>
1 Answer

Billy Bellchambers
21,689 PointsMight want to check the location of your ccs file in your <link>
Looks like you have an extra "/" at the begining of the href.
Maybe should be.
<!doctype html>
<html>
<head>
<title>{% block title %}Flask Basics{% endblock %}</title>
<link rel="stylesheet" href="static/styles.css">
</head>
<body>
{% block content %}{% endblock %}
<p>Brought to you by the fine folks at Treehouse</p>
{% block scripts %}{% endblock %}
</body>
</html>
Hope that helps.
Happy coding
Billy Bellchambers
21,689 PointsBilly Bellchambers
21,689 Pointsjust spotted as well that the "=" is missing for href ill amend that into my orginal post.
William Watlington
3,347 PointsWilliam Watlington
3,347 PointsThanks! Don't know how I stared at it that long and missed that!