- 1

My line is not display. Thanks you.

Display Line. https://code.sololearn.com/WUGxg35AOixy/?ref=app

28th Jun 2021, 12:33 PM
Malick Diagne
Malick Diagne - avatar
2 Answers
+ 1
You need to use setAttribute instead of style for the x and y coordinates of the line ex: line.setAttribute("y1","10");
28th Jun 2021, 12:54 PM
ODLNT
ODLNT - avatar
- 2
Domt write that // it can be grey than it, not work remove this //
28th Jun 2021, 12:54 PM
Coder Pro[ Less Active 📕📒📒study] Publishing App
Coder Pro[ Less Active 📕📒📒study] Publishing App - avatar