commit 724e316b0773616beaa10a253e8f5617d7973deb Author: NetMan <13informatyka14@gmail.com> Date: Sat Jan 6 22:22:17 2024 +0100 Initial commit diff --git a/index.html b/index.html new file mode 100644 index 0000000..d753c1c --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + DOM + + + +

+ THE TITLE OF YOUR WEBPAGE +

+
+ + \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..ba8972a --- /dev/null +++ b/index.js @@ -0,0 +1,7 @@ +const container = document.querySelector('#container'); + +const content = document.createElement('div'); +content.classList.add('content'); +content.textContent = 'This is the glorious text-content!'; + +container.appendChild(content);