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 trialAidan Robertson
1,356 PointsHow do I create an H1 sector to set the color property to purple
Im less than an hour into my coding journey and I am unsure how to add this...
<!doctype html>
<html>
<head>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<h1>Welcome to My Web Page!</h1>
</body>
</html>
2 Answers
Christopher De Lette
Courses Plus Student 7,139 PointsIn your CSS document, target your h1 element with a selector and add your declaration with property value.
The journey has just begun and you'll find it rewarding if you continue forward!!!
Take care and Happy Coding!
Julie Dowler
7,851 PointsLooks like you've already made an h1 sector just fine. Just go into the CSS to make it purple.
Aidan Robertson
1,356 PointsIn what format do I add that to the CSS? would I need a sector to specify H1?
Rebecca Rosso
1,716 PointsRebecca Rosso
1,716 PointsHi Aiden, I'm facing this same problem an hour into my coding learning journey as well! Did you find out the answer? I'm not understanding the answers from others. Are you?