+ 1
How can i change the color of a button or a div with the onclick function in JavaScript
3 Antworten
+ 2
I tried this but it did not work
https://code.sololearn.com/Wp6A0q0yt9wf/?ref=app
+ 2
@Ajibola Hey, you have put "mufunction" in onclick attribute but in the JS, you have defined myfunction()!