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 trialjose sias
1,995 Pointsabout.html not working
i need help i preview my work on the adding pages to website and i click the about page at it gives me a error 404 any suggestions
5 Answers
Kang-Kyu Lee
52,045 PointsOh it shows on the tag it says "about.index"
instead of "about.html"
... Maybe that was why? :)
jose sias
1,995 Points<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Jose Sias | Designer</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://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>Jose Sias</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html" class="selected">Porfolio</a></li>
<li><a href="about.index">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/numbers-01.jpg" alt="">
<img src="img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture.</p>
</a>
</li>
<li>
<a href="img/numbers-02.jpg" alt="">
<img src="img/numbers-02.jpg" alt="">
<p>Playing with blending modes in Photoshop.</p>
</a>
</li>
<li>
<a href="img/numbers-06.jpg" alt="">
<img src="img/numbers-06.jpg" alt="">
<p>Trying to create a 80's style of glows.</p>
</a>
</li>
<li>
<a href="img/numbers-09.jpg" alt="">
<img src="img/numbers-09.jpg" alt="">
<p>Drips created using Photoshop brushes.</p>
</a>
</li>
<li>
<a href="img/numbers-12.jpg" alt="">
<img src="img/numbers-12.jpg" alt="">
<p>Creating shapes using repetition</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://twitter.com/sias11913"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
<a href="http://facebook.com/jose.sias"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a>
<p>© 2014 Jose Sias.</p>
</footer>
</div>
</body>
</html>
`
jose sias
1,995 Pointsthanks man i got it
Eliot Murton
7,315 PointsI am following the tutorial for how to add a new page to a website. As instructed in the video, I start by creating a new file called “about.html”. Copied the code from index.html (home page) over to the new page. In the nav of the (index.html), I changed the selected class to the About list item, etc.
When I review the work in the Workspace, the paragraphs I now write in the "About" page are all white so can only be seen if I highlight the area. Why is this? I can not figure this out.
Kang-Kyu Lee
52,045 PointsHow about.. posting your code here altogether? Or you may checkout <a> tag of your html file.. it should be something like (when you have "about.html" file on the same folder)
<a href = "about.html"> about </a>