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

General Discussion

Code Challenge: Web Design

I'm getting the response: Bummer! The Portfolio should link to 'Index.html'

This is my code: <a href="index.html"> <nav> <ul> <li><a href="index.html"> Portfolio </a></li> <li><a href="about.html"> About </a></li> <li><a href="contact.html"> Contact </a></li> <h1>Nick Pettit</h1> <h2>Designer</h2> </a>

Am I blind?

6 Answers

Well, that didn't stick my code in to my response, let me try again: <code> <a href="index.html"> <nav> <ul> <li><a href="index.html"> Portfolio </a></li> <li><a href="about.html"> About </a></li> <li><a href="contact.html"> Contact </a></li> <h1>Nick Pettit</h1> <h2>Designer</h2> </a> </code>

Dangit, you used to be able to just copy and paste code in....now I can't?

I've removed the brackets to display the code, imagine the brackets are there
a href="index.html" nav ul li a href="index.html" Portfolio /a /li li a href="about.html" About /a /li li a href="contact.html" Contact /a /li <h1 Nick Pettit</h1> <h2>Designer</h2> </a>

Kim Runar Heggen
Kim Runar Heggen
10,317 Points

Hello Jessica,

now, the "tip" says : "Bummer! The PORTFOLIO should link to 'Index.html'". In your code the portfolio is linked to "about.html" :)

switch "about" with "index" and you should be fine .

oh my gosh. haha. You know when you sit and stare and stare and stare at something and can't figure it out because it's so obvious?

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 91,252 Points

Welcome to my world, Jessica. I've lost so much time in the past due to this syndrome ;)

Well, unfortunately, I was not looking at it wrong and Portflio IS linked to Index so now I don't know what the hell is wrong. It's basic HTML, it's not rocket science, but I can't get it tot take my answer on this level so I just moved on and will leave that little quiz hanging in the breeze.
I just logged in and redid the code challenge hoping it would change somewhow and accept it, and it doesn't. So I give up.

wait, portfolio is not linked to about.html, portfolio is linked to index - the a href="about.html" is for the following About. "index.html" is located before portfolio and linked to portfolio