CSS Padding Error


#1

I'm getting very frustrated at this point, I've tried everything. And, I keep this error. I have tried resetting, I have tried a different computer, I have also made sure the CSS is linked to the HTML. I keep getting the error that my top padding isn't 40px.

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


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

#2

margin: 20px 50px 10px 5px
padding-top: 40px;

you forgot ; for margin


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.