"Shaping your button" weird behavior


#1



https://www.codecademy.com/courses/web-beginner-en-UuBLw/0/3?curriculum_id=50579fb998b470000202dc8b


The border-radius only works if I put it twice as shown, placing it once anywhere in the code makes my button's borders turn back into flat. Why?


img {
	display: block;
	height: 100px;
	width: 300px;
	margin: auto;
}

p {
	text-align: center;
	font-family: Garamond, serif;
	font-size: 18px;
}

/*Start adding your CSS below!*/

div {
    background-color: #BCD2EE;
    height: 50px;
    width: 120px;
    border: 2px solid #6495ED border-radius: 5px;
    border-radius: 5px;
}


#2

Nevermind, I've figured it out: I was forgetting to close border: 2px solid #6495ED with a semicolon.
How do I close this thread?