0
How can I change the content of a div when a button is clicked
4 Answers
+ 4
Add picture and make it visible/unvisible
+ 2
https://code.sololearn.com/WaV9gPzbV3qJ/?ref=app check this for better understanding
+ 1
An image
+ 1
You can also do that âmain.style.background = âurl()â; with style.background!
Edit: Now check the same code I provided I added background too