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 @@ +