Closed breakfast-for-dinner closed 1 month ago
clicking the dark mode button does nothing
No response
i got this error: failed to add click event for the dark mode toggle :( TypeError: darkModeToggle is null
failed to add click event for the dark mode toggle :( TypeError: darkModeToggle is null
this can be easily fixed if we just move everything in navbar.js back to index.js
navbar.js
index.js
I am going to fix this
I have fixed it, by adding an onclick
Operating System
Browser(s)
What happened
clicking the dark mode button does nothing
Expected Behavior
No response
Screenshots
i got this error:
failed to add click event for the dark mode toggle :( TypeError: darkModeToggle is null