0
Why animation can't works đ. (line 39)
2 Answers
+ 3
a slash (/) ending a tag is kind of shortcut to avoid writing the closing tag of an content empty element (in svg):
<rect attributes />
is same as:
<rect attributes></rect>
if you need to nest other elements inside, you must use the second form:
<rect attributes>
<animate attributes />
</rect>
else:
<rect attributes />
<animate attributes />
is same as:
<rect attributes></rect>
<animate attributes />
so animate do not belong to rect element ^^
+ 2
Remove the "/" From the rect tag ending above animate