Code doesnt work! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Code doesnt work!

i changed the tutorial from <rect> to <circle> and it didnt work! .. <svg width="1000" height="250"> <circle cx="200" cy="200" r="50" fill="orange"> <animate attributeName="x" from="0" to="300" dur="1s" fill="freeze" repeatCount="2"/> </circle> </svg>

25th Aug 2020, 1:54 PM
DartGoblin
DartGoblin - avatar
2 Answers
+ 5
The attributeName should be 'cx'.
25th Aug 2020, 2:06 PM
Pranav Kalro
Pranav Kalro - avatar
+ 1
attributeName="cx"
25th Aug 2020, 2:07 PM
Rohit