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 Responsive Web Design and Testing Responsive Web Design

kevin richardson
kevin richardson
4,408 Points

All I get is this when I click contact. Not Found The requested URL /contact.html was not found on this server.

What do I do, I did everything just like Nick?

6 Answers

kevin richardson
kevin richardson
4,408 Points

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>KDIZZLE | BOSS </title> <link rel="stylesheet" href="css/normalize.css"> <link href="https://fonts.googleapis.com/css?family=Permanent+Marker" rel="stylesheet"> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Dig Bick</h1> <h2> Thug</h2> <h3>Mike is Smart</h3> <h6>Super Small</h6> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html" class="selected">About</a></li> <li><a href="contact.html">contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <img src="image/nick.jpg" alt="photograph of Nick Pettit" class="profile-photo"> <h7>About</h7> <p>Sup, I'm KDizzle I am a thug. Thuglyfe</p> <p>Boats and Hoes</p> <p>Follow me on twitter nigguhs http://twitter.comm/nickrp"</p> </section> <footer> <a href="http://twitter.comm/nickrp"><img src="image/twitter-wrap.png" alt="twitter logo" class="social-icon"></a> <a href="http://facebook.comm/nickpettit"><img src="image/facebook-wrap.png" alt="facebook logo" class="social-icon"></a> <p>© 2014 My Balls Slap.</p> </footer> </div> </body> </html>

Muhammad Ehsan Hanif
Muhammad Ehsan Hanif
8,236 Points

You have contact.html file in the same directory as index.html?

kevin richardson
kevin richardson
4,408 Points

Sorry that was the Index.html here is the contact.html which is the page I can't see <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>KDIZZLE | BOSS </title> <link rel="stylesheet" href="css/normalize.css"> <link href="https://fonts.googleapis.com/css?family=Permanent+Marker" rel="stylesheet"> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Dig Bick</h1> <h2> Thug</h2> <h3>Mike is Smart</h3> <h6>Super Small</h6> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html" >About</a></li> <li><a href="contact.html" class="selected">contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <h3> General Information</h3> <p>SUp thuglyfe is hard, but someone's gotta do it</p> <p>contact me at yo local corner and I hook you up</p> </section> <section> <h3>Contact Details</h3> <ul> class="contact-info"> <li class="phone"><a href="tel:123-456-7890">123-456-7890</a></li> <li class="mail"><a href="niggnog@yo.com">niggnog@yo.com</a></li> <li> class="twitter"><a href="http:twitter.com/tweet?screen_name=nickrp">@nickrp</a></li> </ul> </section> <footer> <a href="http://twitter.comm/nickrp"><img src="image/twitter-wrap.png" alt="twitter logo" class="social-icon"></a> <a href="http://facebook.comm/nickpettit"><img src="image/facebook-wrap.png" alt="facebook logo" class="social-icon"></a> <p>© 2014 My Balls Slap.</p> </footer> </div> </body> </html>

Muhammad Ehsan Hanif
Muhammad Ehsan Hanif
8,236 Points

Can you confirm that contact.html is in same directory/folder as index.html file?

kevin richardson
kevin richardson
4,408 Points

<li><a href="index.html">Portfolio</a></li> <li><a href="about.html" >About</a></li> <li><a href="contact.html" class="selected">contact</a></li>

Please Kevin use the Markdown Cheatsheet to post code. Muhammad Hanif how do you even read such codes. :astonished:

wesleybarranco
wesleybarranco
535 Points

Make sure that the "c" in contact is lower case along with every other piece of coding, what we are dealing with is very case-sensitive. I hope you found your solution by now though.