This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Sun, Earth, and Code Forum

View Course » View Exercise

375 points
55be4442d3292f05930005c6_862478256
Submitted by
Andrey Jerdetskikh
about 2 years ago

Is that supposed to look like that?

I am a newbeginner but this is my code and the border around the sun looks like a square. Is there something wrong with it.
#sun {
position: absolute;
top: 50%;
left: 50%;

height: 200px;
width: 200px;
margin-top: -100px; 
margin-left: -100px;

border-color: orange;
border-width: 8px;
border-style: solid;
border-radius; 50%;

box-shadow: 0 0 128px red;

}


5 votes

permalink

The only problem is in your border-radius line you have a semi-colin instead of a colin. It should be

border-radius: 50%;

That's the part that makes the border a circle

510 points
Picture
Submitted by
carltonrobot
about 2 years ago

1 Comment

55be4442d3292f05930005c6_862478256 Andrey Jerdetskikh about 2 years ago

Thanks!