Posts by JDchaves • 43 points
4 posts
-
1
votes1
answer30
viewsQ: How do I put an image in place of the black button? Example: a coin?
document.getElementById("bcen").style.width = "300px"; //Size document.getElementById("bcen").style.height = "300px"; //Size …
-
0
votes3
answers520
viewsA: How to put this Alert JS to appear when entering the page
How do you add an alert when you reset the numbers? <button id="bcen" onclick="this.textContent --;" value="10000">10000</button> <script>…
-
-1
votes3
answers16157
viewsA: Automatically load content when you reach the bottom of the page
10 Document.getElementById("bcen").style.align = "center"; // Center Document.getElementById("bcen").style.width = "300px"; //Size Document.getElementById("bcen").style.align = "center"; // Center…
-
-2
votes2
answers54
viewsQ: Change button value without showing alert
I want to change the value of the button always with -1, without showing alert. Follows code: <button onclick="alert(this.value);this.value -= 1;" value="200">200</button>…