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 trial

HTML Introduction to HTML and CSS (2016) Getting Familiar with HTML and CSS Test: Changing the Look of a Web Page

Harley O'Dell
Harley O'Dell
432 Points

In task 2 of 2 there still isn't anything in the styles.css tab. Shouldn't there be? How am I supposed to edit colors?

Previous tutorial videos didn't go over any kind of coding so if there's nothing in the styles.css tab how am I supposed to edit any of the colors? I've rewatched the videos and I'm not seeing anything that's supposed to help me figure this out. Do I need to create something from scratch? That would be crazy given that we have yet to go over anything like that.

index.html
<!doctype html>
<html>
  <head>
    <link href="styles.css" rel="stylesheet">
  </head>
  <body>

    <h1>Welcome to My Web Page!</h1>

  </body>
</html>
styles.css

1 Answer

Raffael Dettling
Raffael Dettling
32,999 Points

You have to change the color of the h1 tag in the css file. It should be mentioned in the videos. Hope it helps :)

h1
{
  color:purple;
}
Harley O'Dell
Harley O'Dell
432 Points

@Raffael Detting Thanks for the fast response. I know how to change the color in css but the problem is that the css tab is empty. There nothing there at all. Super confused. Is this a bug or am I an idiot?

Raffael Dettling
Raffael Dettling
32,999 Points

No no itΒ΄s empty you just have to use the code i posted inside the ccs file. ItΒ΄s pretty simple at the beginning :)

Harley O'Dell
Harley O'Dell
432 Points

Haha good grief. I'm good at over complicating things I guess. Thanks for the assist.