0
I am making a game. But I am facing a problem :- Why my code is not showing "GAME OVER !" (At line :‐ 56). PLESE ! HELP 🥺🥺....
https://code.sololearn.com/WkndMMLeiRrW/?ref=app http://localhost:26543/storage/emulated/0/Practise/BOW+AND+ARROW+%F0%9F%8F%B9/game.html If you seeing the output ,click on the square display on the output screen.
1 ответ
+ 3
last.appendChild(p);
line 63, you're attempting to append p to last. last is a text node that has already been appended to the paragraph node p.
I'm assuming that you meant to append p to div that is created just before this line.
div.appendChild(p);