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 trialAlejandro Olalde Miranda
Front End Web Development Techdegree Student 820 PointsI don't get it CSS
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Alex| Bartender & Design</title>
<link rel ="stylesheet"href="css/normalize.css"
<style>
footer {color; green}
</style>
</head>
Idont understand clearly my mistake cause i have done everything good as the beginning but now if i put the <style> gets red and also the </head> string don't understand why its correct
2 Answers
Kevin Korte
28,149 PointsYou are missing your closing >
bracket stylesheet attribute. Also, you don't have a space between the rel and href attributes, which I think you will need, and you have an extra space between the rel and =, which I think you need to remove.
jacobproffer
24,604 PointsHey Alejandro,
I've cleaned up your code a bit and made some notes. Let me know if I've missed anything.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Make sure to encode your & symbol -->
<title>Alex| Bartender & Design</title>
<!-- You have a space between rel and your assignment operator. -->
<!-- You also have not closed your link tag -->
<link rel="stylesheet" href="css/normalize.css" />
<style>
<!-- Use a colon instead of a semicolon when assigning your properties a value -->
footer{color: green;}
</style>
</head>
</html>
Alejandro Olalde Miranda
Front End Web Development Techdegree Student 820 PointsAlejandro Olalde Miranda
Front End Web Development Techdegree Student 820 Pointsthanks i always forget to close some strings :P