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

Quotes

When and where should I use quotes

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

    <h1> class= property > Welcome to My Web Page!</h1>

  </body>
</html>
styles.css
.property { 
  background-color:#222
    color: purple;
}

1 Answer

Julian Gutierrez
Julian Gutierrez
19,201 Points

Merari Gonzalez quotes are used when adding attributes to your tags such as below.

<img class="test-class" src="test.jpg" alt="This is alt info" width="800" height="600">

For the challenge you are working on there is no need to add a class, the css to change the text color to purple needs to be added to your styles.css "You can remove class= property >" from your html.

h1{
  color: purple;  
}