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 Use the Navigation Element

i am getting error in challenge task even when the code is right

when i preview the code its getting displayed correctly but its doesn't go for next question. its task number 2.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Could you link us the challenge you're working on and the code that you've tried? There's a markdown cheatsheet at the bottom of this page that will show you how to post code to the forum :smiley:

link: https://teamtreehouse.com/library/create-navigation-with-lists

<li>porfolio</li>
<li>about</li>
<li>contact</li>

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! Thanks for posting the link to the challenge and your code. While your code isn't really wrong it's not what the challenge is looking for. Keep in mind that challenges are extremely picky. You've misspelled "Portfolio" and each one of your items should start with a capital letter. Starting them with a lower case letter will cause the challenge to fail.

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

Happy coding! :sparkles:

ty mam

Andrew Booth
Andrew Booth
1,578 Points

Hello, Jennifer Nordell, I noticed that you were a site moderator and was wondering if you could go over the process and steps that you took in order to post a smoothly looking area that displays your code in.

I would love to (in the future), use it to help others in demonstrating code.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Stephanie Webster! It's pretty easy and a little fun to be honest. Start by typing three backticks on a new line followed by the name of the language you'll be coding in. For example, html, css, java, swift etc. It will look like this: ```html. Then insert one extra blank line and start your code. When the code is in place add one more blank line and finish it off with three more backticks ```.

If you forget any of these instructions, you can always take a look at the Markdown Cheatsheet link at the bottom of the "Add an Answer" section. It also contains some tips and tricks for more generic formatting of the text in your posts. Hope this helps! :sparkles:

Andrew Booth
Andrew Booth
1,578 Points

Thank you for your assistance!

<p>Thanks!</p>