Why doesn't this svg animate? Need help! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why doesn't this svg animate? Need help!

<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <svg height="1000" width="1000"> <circle cx="30" cy="30" r="10" fill="black"> <animate attributename="x" from="30" to="60" dur="2s" fill="freeze" repeatcount="10"></animate> </svg> </body> </html>

2nd Feb 2019, 3:23 PM
Bobby Mensah
Bobby Mensah - avatar
3 Answers
+ 3
It is animating. It’s working perfectly fine https://code.sololearn.com/Wp4a8SVBDy0V/?ref=app
2nd Feb 2019, 4:05 PM
JTLZ
+ 2
3rd Feb 2019, 9:57 PM
Bobby Mensah
Bobby Mensah - avatar
0
Thanks
2nd Feb 2019, 4:08 PM
Bobby Mensah
Bobby Mensah - avatar