0
On a screen assume that there is a division..below that there is a button..on pressing the button, 1 should be printed in div..
How to do that in a very simple way??
2 Answers
+ 2
button.onclick=()=>{
div.innerHTML=1;
}
How to do that in a very simple way??