Update index.html

This commit is contained in:
Sam Sneed 2024-05-31 22:26:04 +00:00 committed by GitHub
parent b39d9ed323
commit affd38dcd6
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."}) html.createElement("textarea", "textBox1", {width: "80%", placeholder: "input sentence here."})
let submit = html.createElement("button", "submit") let submit = html.createElement("button", "submit")
submit.addEventListener("click", (tox(textBox1.value)) submit.addEventListener("click", tox(textBox1.value))
</script> </script>