Create HTML element using JS
I’m wanting to make JS that creates a div tag when it is run I’ve done this a while back but I don’t have access to those files
Timmothy Rain document.body.append(div);
let div = document.createElement('div');
and if you want it to be displayed, you need to insert it into the DOM
just like in the example in the documentation https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement
A͢J after creating the element how do i insert it into the html?