3. Style Those Divs!

<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/courses/web-beginner-en-jNuXw/0/3?curriculum_id=50579fb998b470000202dc8b

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
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!

<do not remove the three backticks above>

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

1 Like

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