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 How to Make a Website CSS: Cascading Style Sheets Style the Basic Elements

In this exercise my css/main.css is coming up blank. I'm not sure if this is part of the exercise or my own error?

I apologize as I feel dumb for asking, but I'm not sure if I should be able to see the css code or if this page should be appearing blank (it just shows line 1). I can see Nick's page when I click Preview. Any help/clarification is much appreciated, thank you!

3 Answers

Aisha Blake
STAFF
Aisha Blake
Treehouse Guest Teacher

It's part of the exercise. There's no CSS being applied to the elements you see on the preview besides what the browser does automatically. The first task is to select all the links and remove their underlines, so you should just write CSS that does that.

Isaac Asante
Isaac Asante
4,752 Points

Aisha is right. That's how the exercise works. So you need to start writing your own CSS. The preview helps you verify if you are doing the right thing as well. So, the first task is asking you to write this:

a {
  text-decoration: none;
}

Then follow the next instructions to write the rest of your CSS to complete the exercise.

Ah I see! That makes sense. Thank you so much, guys! I'll give it a shot now.