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
176546251f
commit
63ed190817
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ console.log(helpers.isToxic(objSentence))
|
||||||
helpers.consoleUseWarner("DO NOT INPUT ANYTHING HERE UNLESS YOU KNOW WHAT YOU ARE DOING.")
|
helpers.consoleUseWarner("DO NOT INPUT ANYTHING HERE UNLESS YOU KNOW WHAT YOU ARE DOING.")
|
||||||
|
|
||||||
createParagraph("toxicityBool", "Input text to the text box bellow, click the button, and check here if its toxic.")
|
createParagraph("toxicityBool", "Input text to the text box bellow, click the button, and check here if its toxic.")
|
||||||
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.onclick(tox(textBox1.value))
|
||||||
|
|
Loading…
Reference in a new issue