+ 2
trying to understand SVG
Hello, I tried to close the path (see the code below) but it did not come out as I expected. Do you know what I did wrong? https://code.sololearn.com/WYteezmAHBS7/#html
2 Answers
+ 5
To close the path, use "z"
+ 1
d="M50 40 H200 V0 L300 80 L200 160 L200 120 H50 50 Z"