+ 2
I'm working on a coding project and I need help figuring out how to get the jump counter to work, can someone help me?
15 Answers
+ 5
Ares
In addition will be needed to show a result. For example in this way:
https://code.sololearn.com/WpDmxlGl1hrK/?ref=app
+ 3
Ok, here's the code.
HTML:
<h2 align="center" > Super Jumper</h3>
<p align="center" > A fun jumper game I made.</p>
<button id="jump">Jump</button>
CSS:
h2 {
color:blue;
}
body {
background-color:white-space:;;
}
JS:
window.onload = function() {
let btn = document.getElementById("jump");
let count = 0;
btn.onclick = function() {
count += 1;
}
}
+ 2
Thank you for helping me with my code.
+ 2
Happy coding Ares !
+ 2
Thank you and best of luck for your code Ares
+ 1
That's some cool code
Himanshu Tiwari.
0
I'm using the code type web.
0
Bonsoir escuser moi qui parle français ici
0
I speak English.
Do you speak English.
0
Non
0
J'ai google traduction.
0
You may want to use jQuery (and bootstrap for a nice looking).
https://www.sololearn.com/compiler-playground/Wd1cq5uo6BE8