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) Adding a New Web Page Write the CSS

page not reflecting CSS

I am following all the video steps and after linking my css code with the html, the font still won't change colors. Can someone please tell me what I am doing wrong?

HTML:

<!DOCTYPE html>
<html>
  <head>
    <title>Kobe Lovan's Resume</title>
    <link rel="stylesheet" href="resume.css">
  </head>
  <body>
    <img src="images/me.png" alt="a picture of me">
    <h1>Kobe Lovan, Web Developer</h1>
    <h2>Summary of Qualifications</h2>
    <ul>
        <li>freelance</li>
        <li>html, css, and java</li>
        <li>B.S. Science</li>
    </ul>
  </body>
</html>

CSS:

h1 {
  .color:blue;
}

edited to add markdown

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Kobe Lovan ! It looks like you have a stray . that is throwing things off. There shouldn't be a period/full stop before color. Try the following:

h1 {
  color: blue;
}

Hope this helps! :sparkles:

Thank you!