+ 1
Write a value from my index.js page to index.html
Based on a defined object. How can i write a value to a new <div> at the bottom of my index.html page?
3 odpowiedzi
+ 6
This creates a new division.
let div = document.createElement("div");
document.body.appendChild(div);
+ 1
Maybe, use a function and call it in the <div>
+ 1
I think i have to create a DOM Element since its from my .js page