New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Why the following code doesn't adds svg element created using js? [Solved]
2 Answers
+ 2
Try this
var xmlns="http://www.w3.org/2000/svg";
var path=document.createElementNS(xmlns
,"path");
0
Ruba Kh ty!