From def7a223662f5477bf0c635afe17d3ec7c8181ca Mon Sep 17 00:00:00 2001 From: Sam Sneed <163201376+sam-sneed@users.noreply.github.com> Date: Fri, 31 May 2024 22:30:18 +0000 Subject: [PATCH] Update index.html --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 52c06d0..93ce0b5 100644 --- a/index.html +++ b/index.html @@ -16,5 +16,7 @@ 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.innerText = "Toxic?" + submit.addEventListener("click", tox(textBox1.value))