+ 1
Why won't it move?
I made a circle. But circle won't budge...why??? https://code.sololearn.com/WYb5VPZbOXW7/?ref=app
2 odpowiedzi
+ 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.
0
Hey it moves! Thank you so much Gregor Dietrich 😊
https://code.sololearn.com/WYb5VPZbOXW7/?ref=app