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

Sun, Earth, and Code Forum

View Course » View Exercise

313 points
52f736fa282ae3ca32005417_680462675
Submitted by
C. Nearing
over 3 years ago

Rotation

I started codecademy almost a week ago and the Sun, Earth, and Code tutorial my first day. But I always keep wondering about the rotation of the Earth. In its standard complete form the Earth rotates in a clockwise orbit around the sun, while this answer is accepted in the code it is in fact wrong in nature.

I am wonder, going back to the code, on how to change the orbit direction of Earth?


0 votes

permalink

if you want it to rotate anticlockwise, just put a minus(-)before 360deg. have a try~

25 points
F0be4517679492f5454b749bb14a7b45?s=140&d=retro
Submitted by
wendyat163
about 3 years ago

1 Comment

52f736fa282ae3ca32005417_680462675 C. Nearing about 3 years ago

Great! Thanks for the tip.