Update index.html

This commit is contained in:
Sam Sneed 2024-05-31 22:30:18 +00:00 committed by GitHub
parent affd38dcd6
commit def7a22366
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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))
</script>