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 trialShanmukh Challa
795 PointsI can't complete the challenge task and it won't let me write in it.
It feels like that interface freezes because it won't let me do anything with it
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Once Upon a Time</title>
<style>
h1 {text-align:left; color:green}
</style>
</head>
<body>
</html>
2 Answers
Rich Bagley
25,869 PointsHi,
Not sure why it's freezing. Just tested and it appears to be working now if you could recheck.
One thing to note is that your code is missing a few tags. By stage 2 it should look something like this:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Once Upon a Time</title>
<style>
h1 {text-align:left; color:green}
</style>
</head>
<body>
<h1>Once Upon a Time</h1>
</body>
</html>
Note the h1
tags and closing body
tag.
Hope that helps :)
-Rich
Christopher van Ruitenbeek
13,705 PointsAfter your color: green, you need a closing semi-colon. Else the css will stop working and the code challenge will fail.
<style>
h1 {
text-align:left;
color:green;
}
</style>
Christopher van Ruitenbeek
13,705 PointsChristopher van Ruitenbeek
13,705 PointsYes, you are right.
I didn't check the code well enough :p.