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 trialChristopher Hahn
2,862 PointsI am pretty sure I have the right answer! I can't figure out what I am doing wrong.
The code challenge keeps telling me not to forget a header tag. I am new to this, but it looks to me like I haven't missed anything. Where am I going wrong?
<!DOCTYPE html>
<html>
<head>
<title Christopher Hahn | IS AWESOME>
<meta charset="utf-8">
</head>
<body>
<header></header>
<section></section>
<footer></footer>
</body>
</html>
I get the same error when I write it like this as well.
<!DOCTYPE html>
<html>
<head>
<title Christopher Hahn | IS AWESOME>
<meta charset="utf-8">
</head>
<body>
<header>
<h1>Hello!</h1>
</header>
<section></section>
<footer></footer>
</body>
</html>
Any help is much appreciated! I want to make sure I am doing everything correctly. Thank you very much!
3 Answers
Jeff Busch
19,287 Points<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<header>
</header>
<section>
</section>
<footer>
</footer>
</body>
</html>
Christian Andersson
8,712 PointsIs it asking for the header
or head
tag? If the latter, I belive this is the code you need:
<!DOCTYPE html>
<html>
<head></head>
<body></body>
</html>
Christopher Hahn
2,862 PointsAhhh...I see what the problem was. I didn't close the title tag. For some reason it worked ok on the title entry section but then gave me an error on the next step. Thanks for the help!