4 lines
102 B
JavaScript
4 lines
102 B
JavaScript
const h1 = document.createElement("h1");
|
|
h1.textContent = "Hello, World!";
|
|
|
|
document.body.append(h1);
|