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 trialEmma Stidham
1,068 PointsI'm confused about the setup and the answer to this question!
I don't know what goes where and I don't understand, opening a new tab and re-watching the videos didn't help much either.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Once Upon a Time</title>
<style>
h1 {text-align:left; color:green}
</style>
</head>
</html>
Osama Ahmaro
11,544 PointsCan you please tell me what question is this ? and what error are you getting.
1 Answer
Sjors Theuns
6,091 PointsHi Emma,
The challenge asks the following: Start by writing an opening and closing body tag below the closing head tag, and above the closing html tag.
So add these tags like so:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Once Upon a Time</title>
<style>
h1 {text-align:left; color:green}
</style>
</head>
<body>
</body>
</html>
Jason Anders
Treehouse Moderator 145,860 PointsMOD Edit: Edited markdown so answer with code formats for viewing in the forum. Just needed another line break before opening 3 backticks and language name after. :)
Sjors Theuns
6,091 PointsThanks Jason. I tried it several times, but failed to get it right ;-)
faraz
Courses Plus Student 21,474 Pointsfaraz
Courses Plus Student 21,474 PointsHey Emma,
What's your question?
-Faraz