From a1573d128944d000ec6fa905855dc1a5909780b8 Mon Sep 17 00:00:00 2001 From: Amber Roberts Date: Fri, 18 Oct 2019 15:49:30 -0400 Subject: [PATCH 1/2] Hello World, only if the date lands in October --- Javascript/helloAmber.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Javascript/helloAmber.js diff --git a/Javascript/helloAmber.js b/Javascript/helloAmber.js new file mode 100644 index 0000000..7ffcd98 --- /dev/null +++ b/Javascript/helloAmber.js @@ -0,0 +1,11 @@ +function helloWorld() { + let today = new Date().getMonth(); + if (today == 9) { + console.log("Hello World"); + } + else { + console.log("Try again in October"); + } + } + + helloWorld(); From 03f438e7124a6bcf957fbf66b6dcbc5c70de9917 Mon Sep 17 00:00:00 2001 From: Amber Roberts Date: Fri, 18 Oct 2019 19:11:31 -0400 Subject: [PATCH 2/2] Added my info to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6a06bbd..92a2e39 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,4 @@ Feel free to add your username here :) * [MauricioLanda](https://github.com/MauricioLanda) * [ShannonMCook](https://github.com/shannonmcook) * [Lashuk1729](https://github.com/Lashuk1729) +* [AmberRoberts](https://github.com/AmberRoberts/)