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

Sun, Earth, and Code Forum

View Course

160 points
Submitted by
over 2 years ago

4/7 Add Earth-Orbit Div Error Message

I added div to 'earth orbit' but it still isn't going through. all the appropriate text turned red and I changed the double quotation marks to single ones, but the "did you add your earth-orbit div" error message keeps popping up. Here is my code in the index.html tab.

    <!-- Right below is an image of the sun -->
    <img id="sun" src="">

    <!-- Insert the 'earth' on the next line -->
    <div id= 'earth orbit'>
    <img id='earth' src=""> 


Thanks in advance!

0 votes


You're missing a hyphen between earth and orbit, should be earth-orbit.

201 points
Submitted by
over 2 years ago