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

Hey Need Help On something

How To Nav on A ? !!!!!

Can you clarify? Are you trying to select the 'a' tag that is within a 'nav'?

It is telling me to put the word Portfolio on it of the list that is

You still there

1 Answer

If I understand correctly, you are trying to put an anchor (link or a) tag within a nav tag? You would do it like this:

<nav>
     <ul>
          <li>Portfolio</li>
          <li>About</li>
          <li>Contact</li>
     </ul>
</nav>

It is telling me to put the Word Portfolio on it?

Who is telling you to do what?

it is telling me to put it on there for the test

Which test?

How to Make a website

you still there

Ok, but which code challenge within How to Make a Website

task 2

Yes but the 2 task

Updated answer. I think the problem was that you didnโ€™t wrap the links in list item tags (li).

The structure is just <li>[text]</li>

I think later in the challenge it will have you add links which would look like this:

<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>

Ok thanks

you still there

Please mark my comment as best if it solved your problem. Thanks!