edited webgen

This commit is contained in:
SilicoFlare
2023-03-25 10:36:39 +05:30
committed by GitHub
parent 5ec254dac0
commit 637e604894

View File

@@ -1,27 +1,18 @@
setTimeout(function () { var t = document.createElement("title");
var t = document.createElement("title"); t.innerHTML = "Dynamic HTML";
t.innerHTML = "Dynamic HTML"; document.head.appendChild(t);
document.head.appendChild(t);
}, 2000);
var b = document.body; var b = document.body;
setTimeout(function () { var temp = document.createElement("h1");
var temp = document.createElement("h1"); temp.innerHTML = "This is a heading!!";
temp.innerHTML = "This is a heading!!"; b.append(temp);
b.append(temp);
}, 2000);
setTimeout(function () { temp = document.createElement("h2");
temp = document.createElement("h2"); temp.innerHTML = 'Welcome!!';
temp.innerHTML = 'Welcome!!'; b.append(temp);
b.append(temp);
}, 2000);
setTimeout(function () {
var d = document;
temp = d.createElement("div");
temp.innerHTML = "This webpage has been ENTIRELY constructed piece-by-piece with JavaScript! Can you believe how powerful dynamically generated pages have become??";
b.append(temp);
}, 2000);
var d = document;
temp = d.createElement("div");
temp.innerHTML = "This webpage has been ENTIRELY constructed piece-by-piece with JavaScript! Can you believe how powerful dynamically generated pages have become??";
b.append(temp);