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

i swear i am doing this right. i even had help and it is still showing up wrong

i have my portfolio list inside a <ul> tag and then closed it. Why is it not working?

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
      <nav>
        <ul>
          <li>"portfolio"</li>
          <li>"about"</li>
          <li>"contact"</li>
        </ul>
      </nav>
    </header>
    <section></section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>
Navid Mirzaie Milani
Navid Mirzaie Milani
6,274 Points

What should work and what doesn't please be more specific so i can help.

It is saying i need to put "portfolio" inside a list, but i thought i did

5 Answers

Hi Steve,

You look to have included quotes that aren't needed. The casing may also have an affect as the challenges can get quite specific.

Try changing this:

<nav>
        <ul>
          <li>"portfolio"</li>
          <li>"about"</li>
          <li>"contact"</li>
        </ul>
      </nav>

to this:

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

Does that help?

-Rich

Navid Mirzaie Milani
Navid Mirzaie Milani
6,274 Points

Did he said was a challange? in that case you may be right indeed, the challanges are quite specific. My bad.. im seeing the tags.. sooo dumb of me. steve howe check the above answer of Rich Bagley

Hi Navid,

Yes this is from the challenge linked in the right column :) The above code looks to work fine for me so hopefully it helps Steve out.

-Rich

Success, thanks guys. I wonder why they teach you quotes if they don't use them in the challenge

Hi Steve,

No problem, quotes can be used for classes and IDs, for example:

<li class="class-in-quotes">Text Goes Here</li>

Either way, glad you got it sorted :)

-Rich

Coding is difficult, hopefully one day i can make it look easy like you guys and get out of factory life

The more you do it the easier it'll get :)

-Rich

Navid Mirzaie Milani
Navid Mirzaie Milani
6,274 Points

Don't worry step by step and be patient. Actually a collegue of me does the same thing now, he was a carpenter now he is working and still develop his self. Goodluck mate!

Thanks fellas. One last question, I wouldn't mind taking the ios course down the road but only have a chromebook. Can I download something or do I have to own a mac?

I'll leave that question for you Navid Mirzaie Milani as I haven't been through the iOS course yet :)

-Rich

Navid Mirzaie Milani
Navid Mirzaie Milani
6,274 Points

steve howe if you want explicit programming in Objective C you need a mac but i've another solution to prevent you to buy a expensive mac, though you won't regret to have one ;). You can have Xamarin. Xamarin is a new IDE who supports developing for Iphone & Ipad devices trough C#. The really advanced thing of it is they actually rewrite the whole IOS framework in C# and the syntaxes are a bit different but the logic is the same as you develop for IOS.

First i want to advice you to go trough the basic knowledge of programming in general. Follow the lessons of HTML , CSS, Javascript etc and then maybe even PHP and after that start learning Objevtive C. I'm saying this because most of beginners start using programming languages that are very difficult and in the middle of it they get stuck because they can't solve a problem and thats the danger, the stop completely programming in that programming language.

You can download and find Xamarin studios here.

http://xamarin.com/

If you have any further questions just ask them, i'm glad to help you.

Goodluck mate.

Thanks, it would definitely be after I learn the basics. Im in west Michigan and I think here most companies use ruby on rails so I will want to learn that before I attempt ios. I was just curious if there was a way around the mac. Thanks for all the help @everyone