Created the day/night exercise using javascript and CSS, tried a different code at first and it didn't work but now this one does!