Open chrisgrizzy opened 7 years ago
Hey Chris, did you run the surge command? the link above doesn't show your project
Oops, sorry about that! Here's the link high-pitched-cook.surge.sh
Awesome, glad we were able to figure out that 'dark-theme-enabled'
bug yesterday. :shipit:
Did you have any questions about that? Or anything else in the lessons?
Not at the moment. 👍 I'll be sure to let you know if anything turns up though
@stuartpearman 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)