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 trialAndrew Gildea
265 PointsMy head tag is before the body tag, but I still get an incorrect response.
Any guidance about how to move past this error?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Andrew Gildea | Golfer</title>
<body>
<header>
<h1>Andrew Gildea</h1></header>
<h2>Golfer</h2>
<section>
<p>Gallery will go here</p>
</section>
<footer>
<p>© 2014 Andrew Gildea</p>
</footer>
</body>
</head>
</html>
1 Answer
Chris Thomas
Front End Web Development Techdegree Graduate 34,909 PointsYou need to put your body tags outside, but below, of your head tags
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Andrew Gildea | Golfer</title>
</head>
<body>
<header>
<h1>Andrew Gildea</h1>
<h2>Golfer</h2>
</header>
<section>
<p>Gallery will go here</p>
</section>
<footer>
<p>© 2014 Andrew Gildea</p>
</footer>
</body>
</html>
Also, I think you want your h2 tags inside your header tags... not to be confused with your head tags.