Update index.html

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

View file

@ -16,7 +16,7 @@ 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.innerText = "Toxic?" submit.innerText = "Toxic?" // github pages pls dont bug out now
submit.addEventListener("click", tox(textBox1.value)) submit.addEventListener("click", tox(textBox1.value))
</script> </script>