14 lines
329 B
JavaScript
14 lines
329 B
JavaScript
|
window.addEventListener("load", () => main());
|
||
|
|
||
|
const main = () => {
|
||
|
const videoTree = {
|
||
|
1: "",
|
||
|
};
|
||
|
|
||
|
const mainElement = document.getElementsByTagName("main").item(0);
|
||
|
|
||
|
const newElement = document.createElement("p");
|
||
|
newElement.textContent = "Hello world!";
|
||
|
mainElement.appendChild(newElement);
|
||
|
};
|