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 trialJoshua Bearden
2,286 PointsThe video does not give enough information for me to write the css in order to change the color. styles.css is blank
I have code in the html section to work with, but css is blank. I did not get enough information from the video to know what all I need to write to change the color.
<!doctype html>
<html>
<head>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<h1 class="tag name">Welcome to My Web Page!</h1>
</body>
</html>
<h1 style="color:purple;">
</h1>
1 Answer
Wade Christensen
Treehouse TeacherHi Joshua,
The information you want is in the second video at about 2:15 seconds in. That's this video here: https://teamtreehouse.com/library/introduction-to-html-and-css/-getting-familiar-with-html-and-css/-building-web-pages-with-html-and-css
Because you're changing the color of an element, you'll just define that element rather than a class, but the video example should help you out.
Hint
h1{
//do some stuff here
}
I hope that helps.