You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Bootstrap 5.3 supports dark and light mode and we have set the dark mode on our base html element, we can allow users to toggle their preferred mode.
Task
add a button, icon, or toggle widget on the navbar to allow users to toggle between dark and light mode
bonus: user preference is saved across sessions (e.g., localstorage?)
bonus: users can save their preference on a "my preferences" page when logged in (this is a stretch goal, so don't worry about it for now)
Now that Bootstrap 5.3 supports dark and light mode and we have set the dark mode on our base
htmlelement, we can allow users to toggle their preferred mode.Task
Resources