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 trialMerari Gonzalez
4,437 PointsQuotes
When and where should I use quotes
<!doctype html>
<html>
<head>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<h1> class= property > Welcome to My Web Page!</h1>
</body>
</html>
.property {
background-color:#222
color: purple;
}
1 Answer
Julian Gutierrez
19,201 PointsMerari 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;
}