From 4de5e6eae8d33f8ba3694b57b7de38b81124d9c4 Mon Sep 17 00:00:00 2001 From: dmholland Date: Thu, 2 Jul 2020 11:11:44 -0400 Subject: [PATCH] It works..... --- assets/css/style.css | 4 ++-- assets/js/read-files.js | 6 ++++-- index.html | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 740b9a3..bfeff44 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1,6 +1,6 @@ body { - background-color: navy; - color: white; + background-color: white; + color: black; } .my-table { diff --git a/assets/js/read-files.js b/assets/js/read-files.js index 5ba0fe8..abf2b41 100644 --- a/assets/js/read-files.js +++ b/assets/js/read-files.js @@ -11,9 +11,11 @@ function getSingleFileAsText(evt) { let fileReader = new FileReader(); fileReader.onload = function(event) { let contents = event.target.result; - let words = getWords(contents); + let words = getWords(contents); + console.log(words); } - return fileReader.readAsText(file) + return fileReader.readAsText(file); + } } diff --git a/index.html b/index.html index 285a1b8..17e471c 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,7 @@ +