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

Taylor Gentle
Taylor Gentle
501 Points

About page won't even show up?

I've made my about.html file in workspaces, but when I actually go into my browser and click on the "about" page, it doesn't even change the url. It flashes like it's reloading the page, but I just keep getting the portfolio/home page. What is going on?

3 Answers

Ryan Ruscett
Ryan Ruscett
23,309 Points

if you post your HTML I can give the answer. Most likely you don't have the link from one page to another set correctly.

Taylor Gentle
Taylor Gentle
501 Points

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Taylor Gentle | Graphic Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Pacifico|Roboto:400,100,300,300italic,700,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Taylor Gentle</h1> <h2>Graphic 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>

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Taylor, Your code does look okay.

If I remember this course correctly, I think Nick has the pages all the same in the beginning. You said that it looks like it's "re-loading," so when you look up at the address bar, does the address change from ...../index.html to ......about.html. ? If it does, the link is working, the pages are just identical.

Adam Hire
Adam Hire
2,917 Points

Everything looks right to me based on the code you gave us. Have you double-checked your work in the index.html to make sure the href was properly directing to about.html?

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

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

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

Make sure your Portfolio and Contact pages have the proper <a href> links. Sometimes you may overlook simple spells/punctuation.