What's wrong ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's wrong ?

https://code.sololearn.com/Wq57it5bmO13/?ref=app why the circle doesn't have any movement ?

16th Oct 2017, 4:20 PM
Weng Yau
Weng Yau - avatar
1 Answer
+ 1
You have to specify a valid attribute at the 'attributeName'. For example, if you want your circle to move on the x-axis, then you put the x attribute in it: cx. For the y-axis it is cy <animate attributeName="cx" from="0" to="200" dur="4s" fill="freeze" repeatCount="3"/>
16th Oct 2017, 7:01 PM
Dr_Donko89
Dr_Donko89 - avatar