3. Style Those Divs!



Oops, try again. Do your

s have borders that are 2px solid black?

/*Add your CSS below!*/

div {
	display: inline-block;
	background-color: yellow;
	margin-left: 5px;
	height: 100px;
	width: 100px;
	border-radius: 100%;
	border: 2px;
	border: solid;	
    border-color: black;


What's gone wrong here??? Thanks!


HI thsese lines

	border: 2px;
	border: solid;

try to put them like that

	border: 2px solid;


there are two proper ways to define a border, using the border property which has 3 values:

border: 4px dashed red;

or the individual property's:

border-width: 4px;
border-style: dashed;
border-color: red;

you seem to sort of mix them together


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