0

Append number to array on click

Ide is when the user click on a picture certain number is appended to the array.I have tried something but it doesn't work. Code: HTML: https://pastebin.com/8VHcYrAQ JS: https://pastebin.com/ZC9jdMev Output, for now, look like this: https://imgur.com/a/Bx4KF4j

5th Jan 2022, 6:49 PM
Kalaba
1 Odpowiedź
+ 2
Use code playground to share your code here. Just save the code there, then edit your question, adding the link to your code with + button. Then, explain what is wrong. "Doesn't work" demands one to guess...
5th Jan 2022, 11:37 PM
Emerson Prado
Emerson Prado - avatar