This code not running on my pc, animation doesn't working. please answer, why? | SoloLearn: Learn to code for FREE!

+1

This code not running on my pc, animation doesn't working. please answer, why?

<svg width="1000" height="250"> <rect width="150" height="150" fill="orange"> <animate attributeName="x" from="0" to="300" dur="3s" fill="freeze" repeatCount="2"/> </rect> </svg>

5/21/2020 5:41:14 AM

Shrish

2 Answers

New Answer

+1

This code works as expected for me... Maybe you're using a more or less outdated browser wich doesn't support svg animation ;P Try to update your browser and / or install another one ^^

0

visph thanks for your suggestions, I hope it will work.