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

HTML How to Make a Website Creating HTML Content Create Navigation with Lists

code challenge

I'm on stage 3, question one, of the Website Design Track. Question is: Create a new element with an unordered list element after the link in the header. Can someone show me exactly how it should look? Thanks.

3 Answers

If I post the code, you won't learn anything :) So I'm just going to give you a hint:

<header>
  <a href="index.html">
    <h1>Nick Pettit</h1>
    <h2>Designer</h2>
  </a>
  <!-- Insert your code here -->

I like this approach better!

It sounds like they are looking for you to add a ul element like this...

<header>
    <a href="#">Click me!</a>
    <!-- Insert code here like Ryan said... lol -->
</header>

Hope that helps!

Hey Stephen!

The task itself is vague compared to what you have to enter to complete it. You kind of have to "feel things out" by getting the question wrong a few times to get the right answer. Every error will give you more clues on how to solve that first task. Rather than just flat out giving you the answer I can tell you that you'll have to nest that unordered list (with a couple list items in it) inside another element after the closing tag of the anchor.

At the end of the code challenge make sure you leave feedback on the "challenge completed" pop-up to help improve things for other students.

Thanks for posting! I hope I helped you out!