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

after 4:07

After i deleted everything between the section elements all of the pictures and stuff were still there. And when i click About it still says index.html at the top. Please help.

<!DOCTYPE html> <html> <head> <meta charset ="utf-8"> <title>Nic Hernandez | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href="https://fonts.googleapis.com/css?family=Changa+One|Open+Sans" rel="stylesheet"> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Nic Hernandez</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="index.html" class="selected">About</a></li> <li><a href="index.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> </section> <footer> <a href="http://twiiter.com/nickrp"><img src="img/twitter-wrap.png" alt"Twitter logo" class="social-icon"></a> <a href="http://facebook.com/nickpettit"><img src="img/facebook-wrap.png" alt="Facebook logo"class="social-icon"></a> <p>© 2016 Nic Hernandez.</p> </footer> </div> </body> </html>

1 Answer

Each of your navigation elements links to "index.html", you need to create and link them to separate pages, "portfolio.html", "about.html", "contact.html, and so on.

Thank you!!

so i made those changes and when i click about it still says index.html at the top and all the images are still there.

<!DOCTYPE html> <html> <head> <meta charset ="utf-8"> <title>Nic Hernandez | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href="https://fonts.googleapis.com/css?family=Changa+One|Open+Sans" rel="stylesheet"> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Nic Hernandez</h1> <h2>Designer</h2> </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> </section> <footer> <a href="http://twiiter.com/nickrp"><img src="img/twitter-wrap.png" alt"Twitter logo" class="social-icon"></a> <a href="http://facebook.com/nickpettit"><img src="img/facebook-wrap.png" alt="Facebook logo"class="social-icon"></a> <p>© 2016 Nic Hernandez.</p> </footer> </div> </body> </html>