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

Sun, Earth, and Code Forum

View Course » View Exercise

642 points
5793e37558212240e90003fd_774329516
Submitted by
iiRosie1
almost 3 years ago

Is this how it's supposed to look like?

I'm just a begginer, is this right?

html, body {
/* The universe takes up all available space */
width: 100%;
height: 100%;

/* The universe is black */
background-color: black;

}

#sun {
position: absolute;
/* Positions the top-left corner of the image to be *
/* in the middle of the box */
top: 50%;
left: 50%;

/* Play with these numbers to see what it does */
height: 200px;
width: 200px;
margin-top: -100px; 
margin-left: -100px;

}

#earth {
/* Style your earth */
position: absolute;
top: 25%;
left: 25%;
}

#earth-orbit {
/* For Section #2 */
}


1 vote

permalink

I dont know... Thats my question. Except its what do you do on step 4.

572 points
54bbc4a99113cb9116003ab6_938228051
Submitted by
Kewlgirl88
almost 3 years ago


0 votes

permalink

Well, does it pass the exercise and show properly? If so, it works.

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