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;