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 Adding Pages to a Website Add a New Page

Mason Adams
Mason Adams
924 Points

When i click on about, nothing changes i just stay on the portfolio.

Every time i click on my about page link it doesnt send me to about it keeps me on portfolio. Maybe it isnt linked? please help:

index.html: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Mason Adams | Cyber Bully</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Mason Adams</h1> <h2>Cyber Bully</h2> </a> <nav> <ul> <li><a href="index.html" class="selected">Portfolio</a></li> <li><a href"about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <ul id="gallery"> <li> <a href="img/8bit.jpg"> <img src="img/8bit.jpg" alt=""> <p>8bit Art.</p> </a> </li> <li> <a href="img/treeart.jpg"> <img src="img/treeart.jpg" alt=""> <p>A nice simple tree made beautiful.</p> </a> </li> <li> <a href="img/lizardart.jpg"> <img src="img/lizardart.jpg" alt=""> <p>A Lizard drawn in multiple colors.</p> </a> </li> <li> <a href="img/flute.jpg"> <img src="img/flute.jpg" alt=""> <p>An drawing of a girl playing the flute.</p> </a> </li> <li> <a href="img/swirl.jpg"> <img src="img/swirl.jpg" alt=""> <p>A multicolored swirl, with lots of creativity.</p> </a> </li>
</ul> </section> <footer> <a href="http://twitter.com"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="http://facebook.com"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p> © 2016 Mason Adams.</p> </footer> </div> </body> </html>

about.html: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Mason Adams | Cyber Bully</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Mason Adams</h1> <h2>Cyber Bully</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://twitter.com"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="http://facebook.com"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p> © 2016 Mason Adams.</p> </footer> </div> </body> </html>

1 Answer

This code here is missing an equals sign after the "href": <a href"about.html">About</a>