Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Brittany Flaherty
240 PointsNone of my CSS changes are working
I am following along with the CSS video in workspaces, but whenever I refresh or try to view my page to make sure the background color changes, etc, nothing happens. I have posted a copy of my code here and a snapshot of my workspace. Please help!
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Brittany Flaherty | Coder </title> <link rel"stylesheet" href="css/normalize.css"> <link rel"stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html"> <h1>Brittany Flaherty</h1> <h2>Coder</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <img src="img/numbers-01.jpg" alt=""> </li> <li> <img src="img/numbers-02.jpg" alt=""> </li> <li> <img src="img/numbers-06.jpg" alt=""> </li> </ul> </section> <footer> <a href="http://twitter.com/bratnyy"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a> <a href="http://Facebook.com/brittany.flaherty.908"><img src="img/facebook-wrap.png" alt="Facbook Logo"></a> <p>Ā© 2016 Brittany Flaherty.</p> </footer> </body> </html>
a { text-decoration: none; }
3 Answers
tracy
32,769 PointsHi Brittany,
There's a missing equal sign in each of your link elements (on lines 3 and 4). Because of this, your css stylesheets aren't being linked to your html.
The correct code should be: <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css">
Hope this helps!
lucybeck
6,055 PointsAre you refreshing the page after making changes?
Thomas Turner
Front End Web Development Techdegree Student 8,340 PointsHey Brittany, I've had this problem before as well. Without looking at your code, I suggest trying to run the page you are previewing in "private mode" in your browser. That way no cache is stored which can cause issues with changes not showing up in your page.