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 trialfelisha juarez
106 Pointshow do u color
how do u change the color
<style>
</style>
<h1>{color:pink;
}
<h1>Felisha Garcia</h1>
2 Answers
pi R
12,720 PointsHi ! You need to put your css inside the style tag, not outside of it ;) And when you select h1, no need to use the brackets, just type h1.
Riku S.
11,322 Pointslike pi R said, try this
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My Page</title>
<style>
h1 {
color: pink;
}
</style>
</head>
<body>
<h1>Felisha Garcia</h1>
</body>
</html>