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

Sun, Earth, and Code Forum

View Course » View Exercise

300 points
B5d83e9e4ef999464c03f0b8e894b522?s=140&d=retro
Submitted by
iSpeak
almost 4 years ago

I hate being the first one to ask but, what is wrong?

Here it is:

<body>
    <!-- Right below is an image of the sun -->
    <img id="sun" src="http://goo.gl/dEEssP">

    <div id ='earth orbit'>
         <img id='earth' src="http://goo.gl/o3YWu9">
    </div>


    #earth {
    position:absolute;
    top: 25%;
    left 25%;
}
</body>

The PROBLEM:
Oops, try again. Did you add your earth-orbit 'div'?

THANKS IN-ADVANCE


2 votes

permalink

It looks like you need a hyphen in 'earth orbit'. In other words,

<div id='earth-orbit'>

instead of

<div id='earth orbit'>

390 points
96649595ba471c94e28e07af45c9da3e?s=140&d=retro
Submitted by
Krystal Knight
almost 4 years ago

1 Comment

B5d83e9e4ef999464c03f0b8e894b522?s=140&d=retro iSpeak almost 4 years ago

Ohhhhh thank you SO MUCH