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 trialMax Betancourt
808 PointsI just need help with basic HTML. I seemed to mirror everything in HTML basic's but my syntax keeps highlighting red.
I don't see where my error is? My closing header is highlighted except in it's ">" closing end and my "</body>" and "</html> tags are highlighted and I combed through every line and I can't find the problem. Perhaps a pair of second eyes will help. My code is the following: <!DOCTYPE html> <html> <head> <title>Experience VR</title> </head>
<body> <header> <h1>Experience VR</h1> <p>A Simple Blog about virtual reality experiences.</p>
<nav>
<ul>
<li> <a href="#">Home</a></li>
<li> <a href="#">About</a></li>
<li> <a href="#">Articles</a></li>
<li> <a href="#">Contact</a></li>
</ul>
</nav
</header>
<p>Virtual Reality is becoming a well known as a form of entertainment, But it's older finding it's way into fields like education, industrial design, healthcare, and so much more.</p>
<a href="https://teamtreehouse.com/home" target=_blank>Start Your VR Journey</a>
<section>
<h2>About this 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>
</section>
<section>
<h2>Latest VR Articles.</h2>
<article>
<h3>How Schools Use Virtual Reality to Improve Education.</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ultrices euismod turpis eget porta. Etiam nulla massa, pretium et massa nec, ornare dignissim nisi.</p>
<a href="#">Read more</a>
</article>
<article>
<h3>The Advantages of VR simulation</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ultrices euismod turpis eget porta. Etiam nulla massa, pretium et massa nec, ornare dignissim nisi.</p>
<a href="#">Read more</a>
</article>
</section>
<aside>
<h3>Top VR Resources</h3>
<ol>
<li><a href="https://www.google.com/" target=_blank>Learn to create educational experiences in VR</a></li> <li>Virtual Reality in Entertainment</li> <li>Interact with buildings and products in VR</li> <li>Use VR for teleconferencing and social media</li> </ol> </aside> <section> <h2>Contact</h2> <P>Email us at coolvrexperience@gmail.com</P> </section>
<footer>
<p>© 2017 Experience VR, The Blog</p>
</footer>
</body> </html>
Thank you.
Max Betancourt
808 PointsThank you!
1 Answer
Max Senden
23,177 PointsHi Max,
You forgot to close your nav element, i.e.
<nav>
<ul>
<li> <a href="#">Home</a></li>
<li> <a href="#">About</a></li>
<li> <a href="#">Articles</a></li>
<li> <a href="#">Contact</a></li>
</ul>
</nav>
Next time a vast patch of your HTML or CSS is marked as faulty backtrack your steps until reach the point where all the errors start. Usually the line of HTML/CSS before that is where the problem originates.
Hope it helps, Max
Max Betancourt
808 PointsThank you so much!! I appreciate it!
leahjoyce
6,753 Pointsleahjoyce
6,753 Points<nav> <ul> <li> <a href="#">Home</a></li> <li> <a href="#">About</a></li> <li> <a href="#">Articles</a></li> <li> <a href="#">Contact</a></li> </ul> </nav ----->>>>your error is here it should be </nav>