From 724e316b0773616beaa10a253e8f5617d7973deb Mon Sep 17 00:00:00 2001 From: NetMan <13informatyka14@gmail.com> Date: Sat, 6 Jan 2024 22:22:17 +0100 Subject: [PATCH] Initial commit --- index.html | 15 +++++++++++++++ index.js | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 index.html create mode 100644 index.js 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);