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 trialTrevor Getten
1,708 PointsStuck on Challenge 2 of 2 on introduction to HTML and CSS.
I must be missing something for this challenge and have reviewed the videos in the lesson several times and still not getting it right. all the challenge is for is to change the color of the <h1> tag from white to purple. I feel silly for needing help on the first lesson but am totally new to this so any assistance would be most appreciated.
Thanks
Trevor
<!doctype html>
<html>
<head>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<h1>Welcome to My Web Page!</h1>
</body>
</html>
. location {
<h1>-color;
color: purple;
2 Answers
Chris Jardine
13,299 PointsHi Trevor
In the style.css file you just write:
h1 {
color: purple;
}
There's no need to feel silly, we've all been there, just keep going and you'll start to get the hang of it. Good luck!
Trevor Getten
1,708 PointsThank you very much, that fixed it. This is a totally new experience for me but am looking forward to thee learning ahead.
Much appreciated.
Scott Zangraft
3,084 PointsScott Zangraft
3,084 PointsYour css should just look like ''' h1 { color: purple; } ''' Keep working on it and it'll start being easier.