Number 6 - spin, please coding issues



I’m having an issue with segment 6 of the sun, earth and code project. I’ve typed the animation code out myself, I’ve copied and pasted it from the instructions. every time it gives me the same error when i try to save and submit - Oops, try again. Add the animation code from the instructions to the ‘style.css’ tab. I have done this, it is in the right tab, in the right bit. SOMEONE HELP!!



Spin please

Be sure to leave the orbit styles…

#earth-orbit {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 500px;
    height: 500px;
    margin-top: -250px;
    margin-left: -250px;

    border-width: 2px;
    border-style: dotted;
    border-color: white;
    border-radius: 50%;

  -webkit-animation: spin-right 10s linear infinite;
  -moz-animation: spin-right 10s linear infinite;
  -ms-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  animation: spin-right 10s linear infinite;


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.