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

Sun, Earth, and Code Forum

View Course

160 points
5690793882ff4a56e9000339_108961774
Submitted by
Emmi
about 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.

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

    <!-- Insert the 'earth' on the next line -->
    <div id= 'earth orbit'>
    <img id='earth' src="http://goo.gl/41IWnf"> 
    </div>

</body>

Thanks in advance!


0 votes

permalink

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

201 points
242ab141d155e70a5ed35eb11f739a89?s=140&d=retro
Submitted by
osmoen
about 2 years ago