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

CSS CSS Foundations Getting Started with CSS Adding CSS to a Page

Corey Lyons
Corey Lyons
24,684 Points

External CSS not working!

I'm doing everything else ok but when I get to the part where he does the external style sheet I don't understand why there's nothing happening. I'm pretty sure its a file path thing and I can't figure it out. It should add the dotted line and color the unordered list but it stays the same as before. Where do the zip files need to be saved?

7 Answers

Corey Lyons
Corey Lyons
24,684 Points

I figured out that the files weren't linked properly. Easy fix

Andrew Corcoran
Andrew Corcoran
20,552 Points

Hi Corey,

What zip files are you referring to? The structure of your project files should look like this and the link to the style.css file should look like the below and appear within the <head></head> section of your index.html page.

<link rel="stylesheet" href="css/style.css">
Corey Lyons
Corey Lyons
24,684 Points

the zip files for the adding css to a page and what files do I need from it for this to work? that's the code I used as well and that didn't work

Corey Lyons
Corey Lyons
24,684 Points

the zip files for the adding css to a page and what files do I need from it for this to work? that's the code I used as well and that didn't work

Andrew Corcoran
Andrew Corcoran
20,552 Points

Hi Corey,

Did you take a look at the file structure, it should match what's shown here: http://d.pr/i/HAWo

Corey Lyons
Corey Lyons
24,684 Points

Ok but I noticed all you need to do is pull up the files in the text editor and open in browser and it works fine.

Corey Lyons
Corey Lyons
24,684 Points

so the files in the final folder is all I need to do this project?