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

Sun, Earth, and Code Forum

View Course » View Exercise

234 points
53aacf0f631fe994f3002810_156353023
Submitted by
Juan David Rueda Quiroga Sb
about 3 years ago

¡Uy! Probá otra vez. Did you add 'position: absolute;' to your #earth-orbit style?

enter code here<html>
<head>
    <link rel="stylesheet" href="style.css" />
</head>
#earth {
position: absolute;
top: 25%;
left: 25%;

}

#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;

}

<!-- Right below is an image of the sun -->


<!-- Insert the 'earth' on the next line -->

 </body>

0 votes

permalink

I have the same problem

121 points
Picture
Submitted by
Saradathevi Radhakrishnan
about 3 years ago


0 votes

permalink

I can't see your #earth-orbit CSS selector. Is that because you didn't format your code?

2818 points
5674c6dae39efec455000434_879409444
Submitted by
Zeke Y
almost 3 years ago

2 Comments

53936e64548c35cd6a002180_628253785 Wafzal2P/Risviltsov/Defeating_The_Be almost 3 years ago

why linex penguin?

5674c6dae39efec455000434_879409444 Zeke Y almost 3 years ago

@Waleed S. Afzal: Because I use Linux :)