0
Dark mode prob
Why is the button not turning my document.body to black? https://code.sololearn.com/WqEEPWw125pd/?ref=app
2 Answers
+ 4
Use function call for 'onclick' attribute value e.g. "darkboi();"
If you supplied only "darkboi" the function is not getting invoked.
+ 2
Yes, sorry tiny mistake i missed