How to Change the Background Color After Clicking the Button in JavaScript? #javascript #click #js

preview_player
Показать описание
How to Change the Background Color After Clicking the Button in JavaScript.
#javascript #button #color #click #after #background #change #js How to Change the Background Color of body After Clicking the Button in JavaScript.

Follow on Instagram:-
Рекомендации по теме
Комментарии
Автор

Alr there's some issues with this method

First of all using qurey selector in your code isn't that good as there can be multiple buttons on the page use document.GetElementById()
Second USE THE SCRIPT.JS FILE

dhruvgupta