From ab21e5914c177dabdb4801927a16077e2374362b Mon Sep 17 00:00:00 2001 From: Colin Jaffe Date: Wed, 10 Feb 2021 09:56:56 -0500 Subject: [PATCH] Initial commit. --- README.md | 3 +++ index.html | 21 +++++++++++++++++++++ main.js | 5 +++++ style.css | 0 4 files changed, 29 insertions(+) create mode 100644 README.md create mode 100644 index.html create mode 100644 main.js create mode 100644 style.css diff --git a/README.md b/README.md new file mode 100644 index 0000000..8180da5 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Formless and Void + +A form-and-git project. diff --git a/index.html b/index.html new file mode 100644 index 0000000..701ee93 --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + + + Formless And Void + + + +
+ + +
+ +
+

+
+ + + + diff --git a/main.js b/main.js new file mode 100644 index 0000000..52cf8a8 --- /dev/null +++ b/main.js @@ -0,0 +1,5 @@ +document.querySelector("button").addEventListener("click", () => { + document.querySelectorAll("input").forEach((input) => { + document.querySelector("h1." + input.id).innerText = input.value; + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..e69de29