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 lesson

Hey Guys, has anyone else had issues with the lesson 'how to make a website' under 'customizing colors and fonts', the 3rd objective after the 2 videos i'm not getting anything on there, no instructions or anything.

Doug, I am having this issue as well. Help?

1 Answer

Stuart Craig
Stuart Craig
11,914 Points

Okay. This one is talking about the a tags nested within your nav tags, or more simply, the links that appear inside your nav tags. In CSS you can target a certain tag nested inside another certain tag like this.

nav a { color: #fff; }

This is the answer. To understand it, it might be helpful to think of it backwards. The tags you want to change are your a tags, but only ones which are nested inside your nav tags. This way you can change the colour of these a tags without changing the other a tags on your page.

I hope that helps. :)