+ 2

why wont this code work?

so im just trying work my knowledge in practise rather than just learning the matter and filling out exercises so i decided to play with SVg but the code wont work, can someone tell me whats wrong with this code? <html> <svg width="100" height="100"> <rect width="200" height="70" fill="orange" /> <animate atrributeName="W" from="0" to="150" dur="7s" fill="remove" repeatCount="5"/> </rect> </svg> </html>

24th May 2017, 7:14 PM
Dunja Cetkovic
Dunja Cetkovic - avatar
3 ответов
+ 2
lol , there is no attribute name w try this <svg width="1000" height="250"> <rect width="150" height="150" fill="orange"> <animate attributeName="width" from="0" to="300" dur="3s" fill="remove" repeatCount="2"/> </rect> </svg>
24th May 2017, 7:28 PM
MR Programmer
MR Programmer - avatar
+ 1
</svg? should be </svg>.
24th May 2017, 7:01 PM
Bagshot
Bagshot - avatar
+ 1
@Bagshot thats what i wrote in my code, i only mistakenly wrote question mark im my question
24th May 2017, 7:15 PM
Dunja Cetkovic
Dunja Cetkovic - avatar