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 trialAndrea Faciane
10,042 PointsStage 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
Andrea Faciane
10,042 PointsI'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 :)
Daniel Politz
6,338 PointsHi 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
12,667 PointsHi Andrea,
Have you tried clearing your web browsers cache?
Thank you, Austin
Andrea Faciane
10,042 Pointsthankyou Austin I'll give it a try..
Andrea Faciane
10,042 PointsAustin I successfully cleared my browser's cache and it did not work... any more ideas?
Austin Langdon
12,667 PointsAndrea, post the code that is giving you trouble and I'll see if there are bugs
Andrea Faciane
10,042 Pointshtml <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
Treehouse TeacherHi Andrea Faciane,
That looks correct. What kind of results are you seeing in the browser?
Bryce Chua
5,429 PointsHi Guil & Daniel,
Thanks, the 'fix' worked.
Guil Hernandez
Treehouse TeacherGuil Hernandez
Treehouse TeacherAndrea 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!