Open CuDecker opened 7 years ago
Hi @CuDecker, everything works great! :shipit:
If you're curious, these are all ways to increment a variable by 1
:
counter = counter + 1
counter += 1
counter++
You don't have to change anything, I just thought I'd share. 😉
@egillespie Can you take a look at this? It's hosted here and meets the following criteria:
localStorage
body
element is always up-to-date with the current theme (eitherday-theme
ornight-theme
) -- you can usedocument.body.setAttribute('class', 'some-class-name')
to set the class on thebody
day-theme
, the background of the website is light-colored, with a darker color for the textnight-theme
, the background of the website is a very dark color, with a lighter color for the text1
the first time)Thanks for the help!
You're additions and the removing the else if made a lot of sense to me!
I appreciate it!