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

CSS

Rick Wise
Rick Wise
4,034 Points

My HTML is showing up in my workspaces but my CSS is not changing the website at all.

Hey Guys, I just finished up by basic HTML and CSS courses, and i wanted to try and see what I could do and start practicing as they suggested. I started making a website for my friends band. Everything I typed in HTML appeared on the website, but my CSS commands were not altering anything. Can you take a look at it and telling me what I am doing rong? I'm sure it's staring me right in the face...

Thanks a lot!

HTML: https://w.trhou.se/adjzj36b2p CSS: https://w.trhou.se/rjp7dz2gx5

3 Answers

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

Hi there! You're doing just fine. I can't see anything wrong with your CSS. That being said, you never actually linked your CSS to your HTML so it's not loading the CSS at all.

You need:

<head>
    <title>UNTEACHERS</title>
    <link rel="stylesheet" type="text/css" href="css/style.css">  <!-- this line tells it to use your CSS -->
</head>

Hope this helps! :sparkles:

Common mistake, you forgot to link up your external CSS file.

  <head>
    <title>UNTEACHERS</title>
    <link rel="stylesheet" href="css/style.css">
  </head>
Rick Wise
Rick Wise
4,034 Points

Thanks so much you guys! I knew it was going to be something simple...glad to know it can be common! Hahahaha!