From 46ad4d3bca86f7c27aae5fab53909cb783315bd1 Mon Sep 17 00:00:00 2001 From: lea Date: Wed, 30 Nov 2022 11:43:08 +0100 Subject: [PATCH] hello --- script.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/script.js b/script.js index 0809473..96d033c 100644 --- a/script.js +++ b/script.js @@ -1,6 +1,7 @@ -const fs = require("fs"); +const reponse = "train"; +var word =""; -fs.readFile("word_bank.txt", (err, data) => { - if (err) throw err; - console.log(data.toString()); -}); \ No newline at end of file +function update(x) { + word += x + document.getElementById("message").innerHTML = word; +} \ No newline at end of file