+ 2

This code is not working why?

<svg width="500" height="500"> <circle cx="50" cy= "50" r ="50" fill="green"> <animate attributeName="x" from="100" to="400" dur="2s" fill="freeze"/> </circle> </svg>

9th Jul 2020, 3:34 PM
Shrish
Shrish - avatar
3 ответов
+ 2
I think there may be attributeName="cx" instead of "x".😅
9th Jul 2020, 3:35 PM
Shrish
Shrish - avatar
+ 2
plzz share ur whole code so we help u fast
9th Jul 2020, 3:35 PM
Abhay
Abhay - avatar
+ 2
Shrish u r right replace value of attributeName from "c" to "cx"
9th Jul 2020, 3:37 PM
Abhay
Abhay - avatar