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

22nd Jan 2022, 6:30 PM
Hen Bazz
Hen Bazz - avatar
4 Antworten
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.
22nd Jan 2022, 6:58 PM
Lisa
Lisa - avatar
+ 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.
23rd Jan 2022, 9:19 PM
Ausgrindtube
Ausgrindtube - avatar
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; } }
13th May 2023, 5:30 PM
Alternative
Alternative - avatar
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
13th May 2023, 6:28 PM
Ausgrindtube
Ausgrindtube - avatar