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 ?
5 Antworten
+ 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
+ 1
how do I do that? I don't see any share options inside code repo
0
I dont see anything wrong here. It will be better if you can share a link to your code.
0
thanks