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

mukul lohia
mukul lohia
985 Points

inks yet. Bummer! Be sure you add a list item with the word "Portfolio" in it.

inks yet. Bummer! Be sure you add a list item with the word "Portfolio" in it.

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>

4 Answers

Ash Scott
Ash Scott
435 Points

Hi mukul lohia,

Try a capital 'P' at the start of the word. I think the linter is case sensitive, but everything else looks fine, unless I'm code blind today!

Kind regards, Ash

mukul lohia
mukul lohia
985 Points

<!DOCTYPE html> <html> <head> <meta charset="utf-8">

<title>MUKUL LOHIA|ENTREPRENEUR</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href"css/main.css">

</head>

<body> <header> <a href="untitled.html" <h1>MUKUL LOHIA </h1> <h2>ENTREPRENEUR</h2> </a> <nav> <ol> <li><a href="untitled.html">portfolio</a></li> <li><a href="about.html">about</a></li> <li><a href="contact.html">contact</a></li></ol></nav> </header>

<section> <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>natural is good</p> </a>

      </li>
       <li>
          <a href="img/numbers-02.jpg">
          <img src="img/numbers-02.jpg" alt="">
       <p>natural is good</p>
                </a>

      </li>
       <li>
          <a href="img/numbers-06.jpg">
          <img src="img/numbers-06.jpg" alt="">
       <p>natural is good</p>
                </a>

      </li>
       <li>
          <a href="img/numbers-09.jpg">
          <img src="img/numbers-09.jpg" alt="">
       <p>natural is good</p>
                </a>

      </li>
       <li>
          <a href="img/numbers-12.jpg">
          <img src="img/numbers-12.jpg" alt="">
       <p>natural is good</p>
                </a>

      </li>

    </ul>
</section>

<footer> <p>Ā© 2016mukul lohia.</p> <a href="http://facebook.com/mukullohiasocial10"><img src="img/facebook-wrap.png" alt="facebook logo"></a> </footer> </body>

</html> my background color is not changing i have created body{ background-color: yellow; } also in another folder main.css

Ash Scott
Ash Scott
435 Points

You have a typo in the import for your CSS:

<link rel="stylesheet" href"css/main.css">

You're missing the = after href. This is what it should be:

<link rel="stylesheet" href="css/main.css">

Try that :)

mukul lohia
mukul lohia
985 Points

thanku very much sir now it is working

mukul lohia
mukul lohia
985 Points

<link rel="stylesheet" href="css/normalize.css"> sir can u tell me what is the meaning of this sentence after this we r using <link rel="stylesheet" href="css/main.css"> what does it mean in html