Update index.html

This commit is contained in:
Sam Sneed 2024-05-31 22:24:36 +00:00 committed by GitHub
parent 166b5319bb
commit b39d9ed323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,5 +16,5 @@ 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.onclick(tox(textBox1.value))
submit.addEventListener("click", (tox(textBox1.value))
</script>