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

how to change color ?

how to change color?

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

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

  <h1>
</h1
styles.css
h1 {
  color: blue;
}

2 Answers

Steven Parker
Steven Parker
231,269 Points

As given in the instructions "You can do this by clicking on the "styles.css" tab and changing the color property to purple." (where it currently says "blue").

However, it looks like you got a bit carried away on the making "h1" tags. You were only supposed to change the "p" tags, but you apparently also changed the "body" tags and part of the closing "html" tag (you should put those back).

Asanka Pathirana
Asanka Pathirana
2,295 Points

change <p> tag into a <h1> tag by putting <h1> Welcome to my page!</h1> - dont change anything in this sheet

go to styles.css change color "blue" into "pink"

it's simple you can do it