From dacc6e4011acc7607c2c0acb2260c3dd1bc99bac Mon Sep 17 00:00:00 2001 From: nodemixaholic Date: Sun, 31 Mar 2024 21:53:37 +0000 Subject: [PATCH] Update 'frontend.js' --- frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend.js b/frontend.js index 422be7d..3298d53 100644 --- a/frontend.js +++ b/frontend.js @@ -109,7 +109,7 @@ function createParagraph(elementID, text) { return elem } -function initBody(bodyID) { +function initBody(bodyID = "body") { // Create a new body element with the desired id const newBody = document.createElement("body"); newBody.id = bodyID;