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 trialjlovellealfeche
Front End Web Development Techdegree Student 7,738 PointsI am not sure why my links are not working. I have coded the id attribute like how it is but its giving me error
hello everyone, I'm sorry if i have taken your time. But would like to ask for help as anything in my code that i have input gives me an error 404 that The requested URL was not found on this server. I have done what was said in the video but its not working. I wonder what went wrong.
<header> <h1>Experience VR</h1> <p>A simple blog about virtual reality experiences</p>
<nav>
<ul>
<li><a href="../../index.html">Home</a></li>
<li><a href="../../index.html#about">About</a></li>
<li><a href="../../index.html#articles">Articles</a></li>
<li><a href="../../index.html#contact">Contact</a></li>
</ul>
</nav>
</header>
as you can see my id is also set properly.
<section id="about"> <h2>About the site</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse vehicula metus in bibendum laoreet. Aenean libero est, egestas eu eros pretium, sodales iaculis est.</p> <figure> <img src="img/vr-space.jpg" alt="User experiencing space in VR"> <figcaption>Virtual Reality users can explore far away spaces and feel as though they are right in the middle of the ation</figcaption> </figure> </section>
<section id="articles">
<h2> Latest VR Aricles</h2>
<article>
<header>
<h3>How schools use virtual reality to improve education</h3>
<p>by: Nick Pettit</p>
</header>
and also my image displays as broken image.
<img src="../../img/vr-user.jpg" alt="user trying a VR headset">
I thank you in advance for your time and guidance. Have a nice day
1 Answer
jlovellealfeche
Front End Web Development Techdegree Student 7,738 PointsThank you Andrew Galyan-Mann for your help. I will do that and reapply then. Have a lovely day :)
Andrew Galyan-Mann
Full Stack JavaScript Techdegree Graduate 23,344 PointsAndrew Galyan-Mann
Full Stack JavaScript Techdegree Graduate 23,344 PointsTry removing that path before your hash sign and right it more like this: <a href="#about">About</a>