Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Estil Wallace
Estil Wallace
254 Points

hyper links

im in the html section of the rails track and as i try to hyper link the pages in the nav they dont light up in the preview, im new so im prob missing something simple/obvious... any suggestions?

<nav> <ul> <li><a herf="index.html">Portfolio</a></li> <li><a herf="about.html">About</a></li> <li><a herf="contact.html">Contact</a></li> </ul> </nav>

4 Answers

Hi Estil,

You have a few typos. herf should be href and <!DOCTYPEW html> should not have the W in it.

Estil Wallace
Estil Wallace
254 Points

Dude, thank you so much!!!

Michael Hicks
Michael Hicks
21,875 Points

Please post your code so that I or another member can help decipher what the problem is. Use the ``` symbols mentioned in the Markdown Cheatsheet to wrap your code for appropriate formatting.

Estil Wallace
Estil Wallace
254 Points
        <ul>
          <li><a herf="index.html">Portfolio</a></li>
          <li><a herf="about.html">About</a></li>
          <li><a herf="contact.html">Contact</a></li>
        </ul>
      </nav>```
Estil Wallace
Estil Wallace
254 Points

<!DOCTYPEW html> <html> <head> <meta charset="utf-8"> <title>Estil Wallace | Learner</title> </head> <body> <header> <a href="index.html"> <h1>Estil Wallace</h1> <h2>Learner</h2> </a> <nav> <ul> <li><a herf="index.html">Portfolio</a></li> <li><a herf="about.html">About</a></li> <li><a herf="contact.html">Contact</a></li> </ul> </nav> </header> <section> <p>Gallery will go here.</p> </section> <footer> <p>&copy; 2014 Estil Wallace.</p> </footer> </body> </html>