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 How to Make a Website Beginning HTML and CSS Write a CSS Selector and Property

how do u color

how do u change the color

index.html
<style>

  </style>
    <h1>{color:pink;
           }



<h1>Felisha Garcia</h1>

2 Answers

pi R
pi R
12,720 Points

Hi ! You need to put your css inside the style tag, not outside of it ;) And when you select h1, no need to use the brackets, just type h1.

like pi R said, try this

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>My Page</title>
    <style>
      h1 {
        color: pink;
      }
    </style>
  </head>
  <body>
    <h1>Felisha Garcia</h1>
  </body>
</html>