I want the user to be directed to bar.html on the first of the month, gjb.html on the second of the month, guerr.html on the third of the month and error.html on other dates.
What am I doing wrong? The following only loads bar.html regardless of the date on the user's computer.
I'm brand new to all this, so explain it like you would to a total idiot. Take a look at your console, it should say something like ReferenceError: Invalid left-hand side in assignment