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 CSS Foundations The Box Model The CSS Box Model Concept

Aleksej Dix
Aleksej Dix
8,087 Points

BUG css Border-Box Quiz 3 of 3

Challenge tast 3 of 3.

Next, add a top margin of 50px;

i think there is a bug in this Quiz.

div{
  padding:20px 40px;
  border:5px solid black; 
  margin-top: 50px;
}

2 Answers

You are not selecting the div with the class of box, like the challenge asked you to do.

/* Complete the challenge by writing CSS below */
div.box {
    padding: 20px 40px; 
    border: 5px solid black;
    margin-top: 50px;
}
Aleksej Dix
Aleksej Dix
8,087 Points

thanks, sometimes i am just blind.

wierd that i have passed the first 2 stages