From c71fc453aad8b043f94a6ad0fe952cc548726943 Mon Sep 17 00:00:00 2001 From: nodemixaholic <sam@sllord.info> Date: Sun, 31 Mar 2024 21:46:31 +0000 Subject: [PATCH] Update 'frontend.js' --- frontend.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend.js b/frontend.js index 8f9a2e1..667a098 100644 --- a/frontend.js +++ b/frontend.js @@ -109,6 +109,10 @@ function createParagraph(elementID, text) { return elem } +function initBody() { + createElement("body", "body") +} + function createButton(elementID, text, attributes = {}) { let elem = createElement("button", elementID); elem.innerText = `${text}`