0
Why this animation isnot running ?!
8 Answers
+ 2
I fixed the css of the red box and put the definition of move() inside onload()
https://code.sololearn.com/WJtFCI3euqMO/?ref=app
+ 1
I don't know what it should look like, but now I also fixed the green box css. For demonstration, I changed the interval.
+ 1
I updated it after posting... :)
There was a space in the width and height of both boxes. It needs to be 50px instead of 50 px
+ 1
There are several mistakes in your html and css. Use </div> instead of <div /> and you have double ;; in some parts of your css.
There should be no space before px in css. 50px not 50 px
https://code.sololearn.com/Wzi3zUK92787/?ref=app
0
No need to create a new thread, you can post in the previous one!
https://www.sololearn.com/Discuss/2940740/?ref=app
It looks like you never call move()?
0
Lisa But still after calling move it isn't work
0
Wow..great..but still looks different..
0
U made it right..my wrong