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

Sabrina Pope
Sabrina Pope
262 Points

set color to purple

what is the proper way to display

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
h1 {
  color: blue;
}

2 Answers

Regina Battle
Regina Battle
16,633 Points

Hey Sabrina,

Everything looks good. You just need to change the color to purple:

h1 {
  color: purple;
}
Sabrina Pope
Sabrina Pope
262 Points

Hey thanks Regina,

what I didn't do was look at the other page

Regina is correct, just place purple in place of blue.

Sabrina Pope
Sabrina Pope
262 Points

Thanks Albert, didn't look on the other page...I'm new to this still learning. I appreciate it guys.