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

Sun, Earth, and Code Forum

View Course » View Exercise

242 points
Submitted by
over 4 years ago

Sun Earth and Code

i would am trying to make mars on sun earth and code and i need a red solid circle for the image but i can't seem to get one could anyone help me or just supple the link

-2 votes


Instead of an image, If you want, you can make your own red circle like this:
Put a div with id mars In your html body:

<div id="mars"></div>

Then style it in your CSS:

#mars {
    position: absolute;
    top: 0;
    left: 50%;
    /* the next two lines specify the width and height of mars */
    height: 40px;
    width: 40px;
    margin-left: -20px;
    margin-top: -20px;
    /* the next two lines style the colour and make the shape a circle */
    background-color: red;
    border-radius: 50%;

684 points
Submitted by
over 4 years ago