

Drawing SVG PATH using JAVASCRIPT
I'm trying to draw An SVG path using javascript:
```
const page = document.getElementById('LAB');
var Erouter = document.createElement("div");
Erouter.setAttribute("height", "50");
Erouter.setAttribute("width", "50");
Erouter.setAttribute("style", " position: relative;");
Erouter.style.left = Routers[r].x + "px";
Erouter.style.top = Routers[r].y + "px";
page.appendChild(Erouter)
var elem = document.createElement("img");
elem.setAttribute("src", "./router.png");
elem.setAttribute("height", "50");
elem.setAttribute("width", "50");
elem.setAttribute("style", " position: absolute;");
elem.setAttribute("alt", "Routers");
Erouter.appendChild(elem);
var svg = document.createElement("svg");
svg.setAttribute("style", " position: absolute;");
svg.setAttribute("style","border:orange; border-width:5px; border-style:solid;");
svg.setAttribute("height", "500px");
svg.setAttribute("width", "500px");
var link = document.createElement('path');
link.setAttribute('d','M0 0 ' + 'L150 980');
link.setAttribute('stroke','green');
Erouter.appendChild(svg);
svg.appendChild(link);
````
when i spectate the HTML generated I get the right HTML, but nothing shows up on the page.
and if I type in hte exact same html generated on W3 i get the result.