'why i cant display the imges on the background when i click
let img = document.querySelector('.bag'); let btn = document.querySelector('.next');
btn.addEventListener('click' , function(){
img.style.body.backgroundImage= "file:///D:/front%20end%20project/starter/assets/images/ab.jpg"
})
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
