diff --git a/index.html b/index.html index 52c06d0..93ce0b5 100644 --- a/index.html +++ b/index.html @@ -16,5 +16,7 @@ html.createParagraph("toxicityBool", "Input text to the text box bellow, click t html.createElement("textarea", "textBox1", {width: "80%", placeholder: "input sentence here."}) let submit = html.createElement("button", "submit") +submit.innerText = "Toxic?" + submit.addEventListener("click", tox(textBox1.value))