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 trialAidan D
575 PointsWhy isn't this right help please
I can't see why this is wrong
2 Answers
Aidan D
575 Pointsit said not to add links yet so I didn't
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aidan Deitch | American</title>
</head>
<body>
<header>
<a href="index.html">
<h1>Aidan Deitch</h1>
<h2>American</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<section>
<p>GALLEREY WILL GO HERE</p>
</section>
<footer>
<p>Ā© 2014 Aidan Deitch.</p>
</footer>
</body> </html>
Hayden Taylor
5,076 PointsHmm based on what you have provided I am assuming you are missing some tags? So here is a basic structure of a page.
<!DOCTYPE html>
< head >
< /head >
< body >
< header >
< nav >
< u l>
< li >< a href="" >< /a >< /li >
< li >< a href="" >< /a >< /li >
< li >< a href="" >< /a >< /li >
< li >< a href="" >< /a >< /li >
< /ul >
< /nav >
< /header >
< /body >
< /html >
notice I added how to do a list and how it should be done as a navigation
Hayden Taylor
5,076 PointsI wish I knew how to format the answers better on here
Lindsey Di Napoli
19,572 PointsHayden Taylor - if you add 3 backticks ( ) on the line before you write the code, with the syntax type (in this case
``html ), and then again after (just backticks, no syntax name) it will show the code with the correct syntax highlighting.
Lindsey Di Napoli
19,572 PointsAck it won't let me edit correctly, it just posts new comments :D ! But what I was trying to say was:
If you add 3 backticks on the line before you write the code, with the syntax type (in this case 3 backticks and html ), and then again after (just backticks, no syntax name) it will show the code with the correct syntax highlighting. If you click the markdown cheatsheet it will show you exactly how to do it.
Hayden Taylor
5,076 PointsThank you very much I also posted a forum question if you answer it il accept the answer (its the same question)
Hayden Taylor
5,076 PointsHayden Taylor
5,076 Pointsthat doesn't link to anywhere. Could you post the code making sure you take out the < and >