- 1
My line is not display. Thanks you.
Display Line. https://code.sololearn.com/WUGxg35AOixy/?ref=app
2 odpowiedzi
+ 1
You need to use setAttribute instead of style for the x and y coordinates of the line
ex: line.setAttribute("y1","10");
- 2
Domt write that // it can be grey than it, not work remove this //