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

Sun, Earth, and Code Forum

View Course » View Exercise

199 points
C68d76217ba6ce6cdf6c71c4ebcdb0ce?s=140&d=retro
Submitted by
colton1999
over 2 years ago

4/7 my </ is not turning red so i cant move on

<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" http://www.questionsonislam.com/sites/default/files/planet-earth.jpg </div>
  #earth 
 position: absolute;
 top: 25%;
 left: 25%;

 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;
 }
</body>

THIS IS WHAT I HAVE CAN ANYONE TELL ME WHATS WRONG?


1 vote

permalink

hello. try to use this: after the img id use src="http://www.questionsonislam.com/sites/default/files/planet-earth.jpg" instead of just the link

i think this helps

and instead of 'earth-orbit use "earth-orbit"

put the #earth
position: absolute;
top: 25%;
left: 25%;

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

in the css in stead of html

378 points
553f33d7e39efe0489000096_199622710
Submitted by
Dadoe
over 2 years ago

1 Comment

C68d76217ba6ce6cdf6c71c4ebcdb0ce?s=140&d=retro colton1999 over 2 years ago

thanks for the help!