Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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. :)