+ 1
How can i create a click game?
How can i create a click game on web? Which is the code that i need to put on js? And on html? https://code.sololearn.com/W8fTsy1RqeVz/?ref=app
2 Réponses
+ 2
Get a reference to DOM element that you want edit and modify innerHTML prop like:
function addToMoneys() {
document.getElementById('moneys').innerHTML= (++money)
}
+ 1
thanks its work!