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
ji sir aapne tho kamal ki kaam kar rahe hai
mein apke js playlist tho 80% complete karke ye lag raha hai mein js mein full confident hun
waise playlist mein projects video mein 1) project color change ka apne har ek color ko target karke background change kar rahe hai
tho maine socha
chalo color naam ki variable mein sabhi hojai
let buttons = document.querySelectorAll('.button')
let body = document.querySelector('body')
buttons.forEach((btn)=>{
btn.addEventListener('click',(e)=>{
let color = e.target.id
body.style.backgroundColor = color
})
});```
The text was updated successfully, but these errors were encountered:
ji sir aapne tho kamal ki kaam kar rahe hai
mein apke js playlist tho 80% complete karke ye lag raha hai mein js mein full confident hun
waise playlist mein projects video mein 1) project color change ka apne har ek color ko target karke background change kar rahe hai
tho maine socha
chalo color naam ki variable mein sabhi hojai
The text was updated successfully, but these errors were encountered: