+ 1

Why won't it move?

I made a circle. But circle won't budge...why??? https://code.sololearn.com/WYb5VPZbOXW7/?ref=app

23rd Dec 2019, 2:08 AM
Anne Ervin
Anne Ervin - avatar
2 Respuestas
+ 1
because you're trying to modify the attributeName "c" which does not exist. try this instead: <svg width="1000" height="250"> <circle cx="80" cy="80" r="50" fill="green"> <animate attributeName="cx" from="0" to="300" dur="3s" fill="freeze" repeatCount="2" /> </circle> </svg> edit: you also had a typo - missing the = between to and "300", but that wasn't the main issue.
23rd Dec 2019, 5:01 AM
grdr
0
Hey it moves! Thank you so much Gregor Dietrich 😊 https://code.sololearn.com/WYb5VPZbOXW7/?ref=app
23rd Dec 2019, 5:10 AM
Anne Ervin
Anne Ervin - avatar