Question on SVG | Sololearn: Learn to code for FREE!
+ 2

Question on SVG

<svg height="1000" width="1000"> <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /> <animate attributeName="x" from="1000" to="0" dur="5s" fill="freeze" repeatCount="1000"/> </circle></svg> What’s wrong with the code? Because it will not animate.

6th Sep 2019, 12:34 AM
Reanimated Gaming
Reanimated Gaming - avatar
2 Réponses
+ 3
Your starting to ending values are wrong It should be from="0" to="1000"
6th Sep 2019, 2:26 AM
Okunlola Abdulsalam
0
thank you
7th Sep 2019, 11:35 PM
Reanimated Gaming
Reanimated Gaming - avatar