My line is not display. Thanks you. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 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 Respostas
+ 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