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 trialDerek Goodwin
7,758 PointsFind my code error and tell me why my name isn't seen?
can someone look at my text and tell me where my code error is? <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Derek Goodwin | 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>Derek Goodwin</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html" class="selected">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <ul> <li> <a href="img/IMG_0174.jpg"> <img src="img/IMG_0174.jpg" alt=""> <p>Experimentation with color and texture</p> </a> </li> <li> <a href="img/Matador.jpg"> <img src="img/Matador.jpg" alt=""> <p>Experimentation with color and texture</p> </a> </li> <li> <a href="img/network-equipment-set-13644916.jpg"> <img src="img/network-equipment-set-13644916.jpg" alt=""> <p>Nice pic</p> </a> </li> <li> <a href="img/Annie.jpg"> <img src="img/Annie.jpg" alt=""> <p>Perfection</p> </a> </li> <li> <a href="img/Poppy.jpg"> <img src="img/Poppy.jpg" alt=""> <p>Equipment</p> </a> </li> </ul> </section> <footer> <a href="https://www.arris.com/"><img src="img/arris.png" alt="Arris Logo"></a> <a href="https://www.beatsbydre.com/"><img src="img/beats.png" alt="Beats logo"></a> <P>Ā© 2015 Derek Goodwin.</P> </footer> </div> </body> </html> a{ text-decoration: none; }
wrapper{
max-width: 940px; margin: 0 auto; padding:0 5%; }
logo{
text-align: center; margin: 0; }
a{ color:#6ab47b; }
header { background: #6ab47b; border-color:#599a68; }
h1{font-famly:'Changa one';sans-serif},,h2{ color:#fff; }
nav { background: #599a68; }
nav a , nav a:visited{ color:#fff; }
nav a.selected, nav a:hover {
color:#32673f;
}
body { background-color: #fff; color:#999; }
2 Answers
Luke Pettway
16,593 PointsWhat I can see so far is that you are missing head
and the opening body
tags.
Mark Stapledon Jr.
937 Points<!DOCTYPE html>
<html></html>
<head></head>
<meta charset="utf-8">
Also, be sure to close the <html> and <head> tags once you have nested what you need inside of them.
Derek Goodwin
7,758 PointsDerek Goodwin
7,758 PointsWhere