+ 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

22nd Nov 2019, 5:33 PM
Santana Sj
Santana Sj - avatar
2 Answers
+ 5
To close the path, use "z"
29th Nov 2019, 12:45 PM
MCGAmedCoder gamerArtist
MCGAmedCoder gamerArtist - avatar
+ 1
d="M50 40 H200 V0 L300 80 L200 160 L200 120 H50 50 Z"
22nd Nov 2019, 5:35 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar