Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Basics (2014) The Box Model Padding

Stage 4 The Box Model

I followed Guil's instruction to unselect the comment
by using ctrl /.

<h2>Check out all the Wildlife</h2> <p> As spawning season approaches, the fish acquire a humpback and protuberant jaw. After spawning, they die and their carcasses provide a feast for gatherings of <a href="#mink">mink</a>, <a href="#bears">bears</a>, and <a href="#eagles">bald eagles</a>. </p>

I save it and refresh the page and I don't see the same results. Does anyone have any suggestions? It would be greatly appreciated.

5 Answers

I'm not seeing the div with the black background with the content that says

<div class="wildlife"> <h2>Check out all the Wildlife</h2> <p> As spawning season approaches, the fish acquire a humpback and protuberant jaw. After spawning, they die and their carcasses provide a feast for gatherings of <a href="#mink">mink</a>, <a href="#bears">bears</a>, and <a href="#eagles">bald eagles</a>. </p> </div> Thanks for responding Guil :)

Guil Hernandez
Guil Hernandez
Treehouse Teacher

Andrea Faciane,

No problem. :) Does the div have the class wildlife? It's also possible that you're not seeing the text because the color is set to white in the lesson, and you might want to double check your background color hex value.

Can you also please post your CSS? Thanks!

Daniel Politz
Daniel Politz
6,338 Points

Hi Andrea,

If you used the Project Files from "'start", as I did, then above your h2 (shown in your code) you will see a div. The div does not have a class attribute. You will need to add class="wildlife". The video does not explain that but it is an easy fix and will add the background color.

Hope that helps.

Austin Langdon
Austin Langdon
12,667 Points

Hi Andrea,

Have you tried clearing your web browsers cache?

Thank you, Austin

thankyou Austin I'll give it a try..

Austin I successfully cleared my browser's cache and it did not work... any more ideas?

Austin Langdon
Austin Langdon
12,667 Points

Andrea, post the code that is giving you trouble and I'll see if there are bugs

html <h2>Check out all the Wildlife</h2> <p> As spawning season approaches, the fish acquire a humpback and protuberant jaw. After spawning, they die and their carcasses provide a feast for gatherings of <a href="#mink">mink</a>, <a href="#bears">bears</a>, and <a href="#eagles">bald eagles</a>. </p>

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi Andrea Faciane,

That looks correct. What kind of results are you seeing in the browser?

Bryce Chua
Bryce Chua
5,429 Points

Hi Guil & Daniel,

Thanks, the 'fix' worked.