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 trialKranthi Lammatha
597 PointsInside the navigation element, create three list items with the words, “Portfolio”, “About”, and “Contact”. Don’t add li
<nav> <ul> <li>"portfolio"</li> <li>"About"</li> <li>"contact"</li> </ul> </nav>
5 Answers
Harlan Robinson
Courses Plus Student 2,849 PointsThe problem is with how it is worded. Let me explain!
In task two the words are " Inside the navigation element, create three list items with the words, “Portfolio”, “About”, and “Contact”. Don’t add links yet."
Those are created inside of the previous element. Like my example below!
This one will not work!
<nav> <ul></ul> <li>Portfolio</li> <li>About</li> <li>Contact</li>
This one will work!
<nav> <ul> <li>Portfolio</li> <li>About</li> <li>Contact</li> </ul>
Erik McClintock
45,783 PointsKranthi,
While I'm still unclear as to what the problem is that you're experiencing or what your code is, perhaps this clarification of the code challenge can help:
It looks like perhaps you may be inserting the words that the challenge is asking for in the second task with quotes around them and mixed capitalization - remove the quotation marks and make sure each word is Capitalized and you should pass the task.
Hope this helps.
Erik
Erik McClintock
45,783 PointsKeep in mind, the code challenges are designed to look (usually) for very specific responses, so you should always first try every possible combination that you can think of for the answers that you submit.
Example: if the challenge is asking for you to change the background color of an element, it might accept the shorthand "background: #color;" format, or it might want you to extend that to be more specific, like "background-color: #color;".
Erik
adrian lena
1,864 PointsNONE OF THESE WORK!!!!!!!!!
Jason Anello
Courses Plus Student 94,610 PointsHi Adrian,
If you want to post your code then I can take a look.
What was posted by Harlan passes through task 2 although the closing nav
tag was left off.
Make sure that you have it inside the header but after the link that was already there.
Erik McClintock
45,783 PointsKranthi,
What is the problem? Can you pose your question and post your code?
Erik
Kranthi Lammatha
597 Points<nav> <ul> <li>"portfolio"</li> <li>"About"</li> <li>"contact"</li> </ul> </nav>
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Kranthi,
See this thread for how to post code: https://teamtreehouse.com/forum/posting-code-to-the-forum