0
I’m stuck in 12.2 code repo
I’m pretty new to coding and this app is amazing but they don’t tell me we’re to put the code. I’ve been trying to figure out where to put the code to make a ball for 2 hrs, but nothing is working. https://code.sololearn.com/c4WW1Sfk597S/?ref=app I’m trying to make a ball
4 ответов
0
Just put the code into the script???
If you need help with the code, please link it here and describe what you want to do.
+ 2
For internet coding, you need to choose the "web" option. That then has 3 tabs for all of your lovely HTML, css and JavaScript magic.
0
I need help because it isnt counting everytime i click jump
html:
<button id="jump">Jump</button>
Js:
window.onload = function() {
let btn = document.getElementById("jump");
let count = 0;
btn.onclick = function() {
count += 1;
}
}
0
Alternative that's only a snippet of your code and so there might be something wrong that we cannot see. For instance, you don't have any output. The count could be increasing, but there's no way to know.
Please search the forum, there are similar problems already answered.
https://www.sololearn.com/discuss/3173381/?ref=app