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

cant move on!!

im probably the 6th person with this problem (acording to recent discussions) but i cannot seem to link the about page with the index page no matter what i try. I copied and pasted about three times already and each time the URL is "not found" for "about.htm" (notice there is no L). i went back to see if somewhere in the coding i had missed an L and as a matter of fact i was missing one. I then FIxed this issue and still, i could not move on. The about page still doesnt exist. Another issue was when i preview the about page, after deleting the gallery and changing class to about, the pictures from index.html still come up!!. i cant seem to figure this one out. please help!

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>smARTway|custom art</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Righteous|Fira+Sans:400,500,500italic,700,700italic,400italic|Alegreya:400,700italic,700,900,900italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>ByanLarios</h1> <h2>Entrepeneur</h2> </a> <nav> <ul> <li><a href="index.html">porfolio</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="alpha"> <section> </section> <footer> <a href="http://facebook.com/Lbryan12"><img src="img/facebook-wrap.png" alt="facebook logo" class="social-icon"></a> <p>Ā© 2015 Bryan Larios.</p> </footer> </div>
</body> </html>

This is my about page which still previews the same exact way my index.html file shown below does

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>smARTway|custom art</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Righteous|Fira+Sans:400,500,500italic,700,700italic,400italic|Alegreya:400,700italic,700,900,900italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>ByanLarios</h1> <h2>Entrepeneur</h2> </a> <nav> <ul> <li><a href="index.html" class="selected">porfolio</a></li> <li><a href="about.html">about</a></li> <li><a href="contact.html">contact</a></li> </ul>
</nav> </header> <div id="alpha"> <section> <ul id="gallery"> <li> <a href="img/1442333466194.jpg"> <img src="img/1442333466194.jpg" alt=""> <p>Bryan Larios</p> </a>
</li> <li> <a href="img/bryan1.jpg"> <img src="img/bryan1.jpg" alt=""> <p>graff</p> </a>
</li> <li> <a href="img/Snapchat--8043106184806590262.jpg"> <img src="img/Snapchat--8043106184806590262.jpg" alt=""> <p>on the trolley</p> </a>
</li>
</ul>
</section> <footer> <a href="http://facebook.com/Lbryan12"><img src="img/facebook-wrap.png" alt="facebook logo" class="social-icon"></a> <p>Ā© 2015 Bryan Larios.</p> </footer> </div>
</body> </html>

2 Answers

Steven Parker
Steven Parker
231,269 Points

I pasted your code above into the workspace and I have no problem using the links to move from the index.html to the about.html and back again.

Just wondering, when you made your last fix, did you remember to save your edits and then refresh the preview?

Yes! i made sure to save them. I have tried everything within my knowledge. might it be my computer?

Yes! i made sure to save them. I have tried everything within my knowledge. might it be my computer?

Scott Walton
Scott Walton
9,174 Points

Is the about.html file on the left in workspaces spelt correctly?