GitHub Source Files
- Date() Object
- switch statement
My Personalize Summary
This project was another one that didn't take me very long to complete.
The only thing that you may find tricky is converting the day from the Date() object into the day of the week.
So, my switch statement took the computer indexed day of the week from my local computer and assigned a day.
New Things Learned or Refreshed
Nothing new, but I did have a bug in my code.
Luckily, it only took me a few seconds to figure out.
I forgot my
break statement in a few cases within my
switch statement, which made my code pass through down to my last
So, I was getting Saturday even though today is Friday.
Time to Code
This project took me about 20 minutes to complete on my own.
What To Accomplish
- Download the source code from the github repository above.
- Delete the contents of the
- Add a link to your finished project below!
What You Should See