diff --git a/final_project/css/style.css b/final_project/css/style.css index 913a85b..5fd8ad8 100644 --- a/final_project/css/style.css +++ b/final_project/css/style.css @@ -5,13 +5,7 @@ body { } - img { - - } - - #img{ - - } + /* Google font */ @import url('https://fonts.googleapis.com/css?family=Orbitron'); diff --git a/final_project/js/this.js b/final_project/js/this.js index e98f9f2..69acafe 100644 --- a/final_project/js/this.js +++ b/final_project/js/this.js @@ -46,10 +46,15 @@ function currentTime() { var today = new Date() var curHr = today.getHours() +//function writeText(displayText){ + //var p = document.getElementById('good'); + // document.write("hello"); +//} + if (curHr < 12) { - document.write('good morning').getElementById('good') + document.write('good morning') } else if (curHr < 18) { - document.write('good afternoon').getElementById('good') + document.write('good afternoon') } else { - document.write('good evening').getElementById('good') + document.write('good evening') } \ No newline at end of file