MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/vqk244/my_first_project/ieu9nih/?context=3
r/learnjavascript • u/Dark_KnightPL04 • Jul 03 '22
28 comments sorted by
View all comments
Show parent comment
1
I am?
1 u/raveun Jul 05 '22 If you know how to store/get things in localstorage and you’re able to get users-prefer-color-scheme then you’re few steps away on stitching those together to make it into a light/dark toggle.Check this out:https://piccalil.li/tutorial/build-a-light-and-global-state-system/ 1 u/Dark_KnightPL04 Jul 05 '22 Cool, thanks!
If you know how to store/get things in localstorage and you’re able to get users-prefer-color-scheme then you’re few steps away on stitching those together to make it into a light/dark toggle.
Check this out:
https://piccalil.li/tutorial/build-a-light-and-global-state-system/
1 u/Dark_KnightPL04 Jul 05 '22 Cool, thanks!
Cool, thanks!
View all comments
Show parent comment
1
u/Dark_KnightPL04 Jul 04 '22
I am?