+ 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?

17th Dec 2022, 4:06 PM
Aresu
Aresu - avatar
15 Antworten
+ 5
Ares In addition will be needed to show a result. For example in this way: https://code.sololearn.com/WpDmxlGl1hrK/?ref=app
17th Dec 2022, 4:59 PM
JaScript
JaScript - avatar
+ 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; } }
17th Dec 2022, 4:42 PM
Aresu
Aresu - avatar
+ 2
Thank you for helping me with my code.
17th Dec 2022, 5:04 PM
Aresu
Aresu - avatar
+ 2
Happy coding Ares !
17th Dec 2022, 5:14 PM
JaScript
JaScript - avatar
19th Dec 2022, 3:25 PM
Himanshu Tiwari
Himanshu Tiwari - avatar
+ 2
Thank you and best of luck for your code Ares
19th Dec 2022, 3:31 PM
Himanshu Tiwari
Himanshu Tiwari - avatar
+ 1
That's some cool code Himanshu Tiwari.
19th Dec 2022, 3:29 PM
Aresu
Aresu - avatar
0
I'm using the code type web.
17th Dec 2022, 4:39 PM
Aresu
Aresu - avatar
0
Bonsoir escuser moi qui parle français ici
18th Dec 2022, 11:05 PM
Armel
Armel - avatar
0
I speak English. Do you speak English.
18th Dec 2022, 11:08 PM
Aresu
Aresu - avatar
0
Non
18th Dec 2022, 11:09 PM
Armel
Armel - avatar
0
J'ai google traduction.
18th Dec 2022, 11:10 PM
Aresu
Aresu - avatar
0
You may want to use jQuery (and bootstrap for a nice looking). https://www.sololearn.com/compiler-playground/Wd1cq5uo6BE8
19th Dec 2022, 4:48 PM
Sedat Çapar