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 trialBen Thomson
2,104 PointsI am receiving the following- Bummer! Don't forget a header tag. But my code seems to be correct
Please let me know if this is correct?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"">
<title>Ben Thomson | Artist<title>
</head>
<body>
<header>
<h1>Hello</h1>
<p>Some add ons</p>
</header>
<section>
<p>gallery.</p>
</section>
<footer>
<p>©: 2014 ben Thomson.</p>
</footer>
</body>
</html>
2 Answers
Stone Preston
42,016 Pointsyou have an extra pair of quotes in your charset attribute:
<meta charset="utf-8"">
so remove that
you also did not properly close your title tag:
<title>Ben Thomson | Artist<title>
so close that properly.
the full code with the fixed errors is below:
<!DOCTYPE html>
<html>
<head>
<!-- removed extra " -->
<meta charset="utf-8">
<!-- close title tag -->
<title>Ben Thomson | Artist</title>
</head>
<body>
<header>
<h1>Hello</h1>
<p>Some add ons</p>
</header>
<section>
<p>gallery.</p>
</section>
<footer>
<p>©: 2014 ben Thomson.</p>
</footer>
</body>
</html>
Kidist Admasu
11,020 Pointshere is some minor correction in your code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> /* remove the extra '' */
<title> Ben Thomson | Artist </title> /* closing tag must have / before title */
</head>
<body>
<header>
<h1>Hello</h1>
<p> Some add ons </p>
</header>
<section>
<p>gallery.</p>
</section>
<footer>
<p>©: 2014 ben Thomson.</p>
</footer>
</body>
</html>
Ben Thomson
2,104 PointsAppreciate it! I am good to go
Ben Thomson
2,104 PointsBen Thomson
2,104 Pointsappreciate it! Thanks