10. Padding Problems

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/web-beginner-en-6merh/1/5?curriculum_id=50579fb998b470000202dc8b

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Oops, try again. It looks like your padding-top isn’t 40px.

  • {
    border: 1px dashed black;
    }

div {
height: 50px;
width: 100px;
border: 4px solid #FF0000;
border-radius: 5px;
background-color: #308014;
margin: 20px 50px 10px 5px
padding-top: 40px
padding-right: 40px
padding-bottom: 40px
padding-left: 40px
}
Pretty sure I typed in everything correct and tried resetting and retyping everything yet still get this error message. What am I missing?

```

Replace this line with your code.

<do not remove the three backticks above>

Okay I realized I forgot the semicolons, but it still doesn’t work.

* {
	border: 1px dashed black;
}

div {
	height: 50px;
	width: 100px;
	border: 4px solid #FF0000;
	border-radius: 5px;
	background-color: #308014;
	margin: 20px 50px 10px 5px
	padding-top: 40px; 
    padding-right:  40px;
    padding-bottom:  40px;
    padding-left: 40px;
}

you are still missing a semi-colon after margin value

1 Like

Still missing one after margin :stuck_out_tongue:

Yup, that was it. Thanks!