DEV Community

Discussion on: constructor() dynamic import()

Collapse
dannyengelman profile image
Danny Engelman

Dont gaslight me, i fart pure alcohol. Code is wrong... your trying to stuff dom elements into a string

Thread Thread
btopro profile image
Bryan Ollendyke Author

The following code was always there, under every comment that was made, and has never been modified from it's original, posted below.

      let sketchTag = document.createElement("the-parrot-sketch");
      sketchTag.innerHTML = this.getAttribute("say");
      this.appendChild(sketchTag);
Enter fullscreen mode Exit fullscreen mode

room explodes