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 CSS Fundamentals CSS Properties

Ryan Lovett
Ryan Lovett
6,915 Points

I've followed every step up until this point. The background is should be black and there is supposed to be a border.

I've followed every step up until this point. The background is should be black and there is supposed to be a border. When previewing the web page it still appears as it did before I added the css code. I've typed everything correctly.

1 Answer

Rachel Johnson
STAFF
Rachel Johnson
Treehouse Teacher

Hey Ryan Lovett , thanks for your question!

it's a little tricky to see what's happening for you without seeing any code. If you are working in Treehouse Workspaces, you can actually take a snapshot of your workspace and share it. You can find it on the top right amongst the 3 icons there. Take a snapshot by clicking the first icon (the one that looks like a camera) and follow the instructions. This will allow anyone who sees your question to get a better understanding of what you're looking at. This is especially useful when you start working with larger projects!

Just going off what you said though, a possible reason is because the CSS file hasn't been linked to the HTML file. Be sure to revisit this video starting from 1:29. This talks about linking external CSS to the existing HTML so that any styles you write will be applied.

I hope this helps!