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 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>