10. Padding Problems


#1


https://www.codecademy.com/en/courses/web-beginner-en-6merh/1/5?curriculum_id=50579fb998b470000202dc8b


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.


#2

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;
}

#3

you are still missing a semi-colon after margin value


#4

Still missing one after margin :stuck_out_tongue:


#5

Yup, that was it. Thanks!


#6