Why isn't it working. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
25th Apr 2022, 8:35 PM
Elijah Adebanwo
Elijah Adebanwo - avatar
2 Answers
+ 3
<svg width="1000" height="1000"><polyline points="100,200 350,400" style="fill:white;stroke:red;stroke-width:4"></polyline></svg>
25th Apr 2022, 8:52 PM
JaScript
JaScript - avatar
+ 2
polyline requires pairs of x and y coordinate. In you example code the 1st coordinate is incomplete.
25th Apr 2022, 8:49 PM
Lisa
Lisa - avatar