Update 'frontend.js'
This commit is contained in:
parent
4adc229b1e
commit
c71fc453aa
1 changed files with 4 additions and 0 deletions
|
@ -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}`
|
||||
|
|
Loading…
Reference in a new issue