Skip to content

Commit

Permalink
quit name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rod committed Jul 31, 2020
1 parent d82a65c commit 975280f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/greetings.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var today = new Date();
var Hr = today.getHours();
// You can change your name here
var name = "Mike";
var name = "";
var lateTxt = "Go to Sleep! ";
var morningTxt = "Good day, great time for a coffee, ";
var afterTxt = "Good afternoon, let's build something, ";
Expand All @@ -15,4 +15,4 @@ if (Hr >= 0 && Hr < 6) {
document.getElementById("greetings").innerText = afterTxt + name;
} else {
document.getElementById("greetings").innerText = evenTxt + name;
}
}

0 comments on commit 975280f

Please sign in to comment.