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 trialKevin Rice
251 PointsI need help on a project Im a beginner and It keeps saying at section tag isnt this it? <section></section>
i need help Im stuck in web design
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Kevin Rice |Designer</title>
</head>
<body>
<header>
<h1>Kevin Rice</h1>
</header
<section></section>
<footer>
<p>© 2016 Kevin Rice</p>
mrdmarketing15@gmail.com</footer>
</body>
</html>
2 Answers
Jennifer Nordell
Treehouse TeacherHi there! You're doing great, but somehow you managed to delete a closing tag in a previous line. Take a look at your code:
<header>
<h1>Kevin Rice</h1>
</header
And here is the corrected code:
<header>
<h1>Kevin Rice</h1>
</header> <!-- note the addition of the closed angle bracket here -->
Because the previous line is causing an error, it can't make it to your new <section>
tag. You'll find this to be a common theme when debugging (in multiple languages). If you can't find the error on the exact line that you're looking, try looking upwards in your code. Very often, the cause of the problem is before the line you're coding on.
Hope this helps!
Craig Watson
27,930 PointsHi Kevin,
Sorry I could not reply to your answer request sooner, Jennifer Nordell has provided a very detailed and correct answer to your question.
Craig :)