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

Sun, Earth, and Code Forum

View Course

19 points
0d1b6e8f16d3835f32b727560d86bd9f?s=140&d=retro
Submitted by
pertm
almost 2 years ago

Abstract css

I did make earth and mars and earthorbit and marsorbit in css. I see a lot of code is almost the same so there should be a way to make abstract css for planet and planet_orbit.

For planet only thing that is different is size and color, for orbit it is size and orbit speed