mirror of
https://github.com/the-spellman/js-plus-plus-toxicity-demo
synced 2024-12-23 09:32:33 -06:00
Update index.html
This commit is contained in:
parent
166b5319bb
commit
b39d9ed323
1 changed files with 1 additions and 1 deletions
|
@ -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.onclick(tox(textBox1.value))
|
submit.addEventListener("click", (tox(textBox1.value))
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue