0

Why doesn't my button show up in " Game Development with JS" code repo 8.2?

I did find an error in 10.2, where the word "function" is spelled as "funnction". I got the error to disappear in 8.2, but, my screen is not showing the button when I run the program. I am using a tablet, and just to be sure, I turned it around to view vertically, but still no button showing. Here's my code: window.onload = function(){ let btn = document.getElementById("jump"); let count = 0; btn.onclick = function(){ count += 1; } } what am I misssing ?

9th Feb 2022, 6:01 AM
Stacey Prahl
Stacey Prahl - avatar
5 Answers
+ 2
Copy in playground and save link. Share here along with question description.. Hope This may help you, to share links šŸ‘‡ https://www.sololearn.com/post/75089/?ref=app https://www.sololearn.com/post/74857/?ref=app
9th Feb 2022, 10:02 AM
Jayakrishna šŸ‡®šŸ‡³
+ 1
how do I do that? I don't see any share options inside code repo
9th Feb 2022, 9:12 AM
Stacey Prahl
Stacey Prahl - avatar
0
I dont see anything wrong here. It will be better if you can share a link to your code.
9th Feb 2022, 6:09 AM
Moshe Schnitzler
Moshe Schnitzler - avatar
0
thanks
10th Feb 2022, 5:31 AM
Stacey Prahl
Stacey Prahl - avatar
12th Feb 2022, 8:53 AM
Stacey Prahl
Stacey Prahl - avatar