Good community, these days I’m finishing this project and I’m mentally stuck because I don’t know how to restart the game, besides Codepen doesn’t allow the use of document.location.href
and window.location.reload()
.
What changes I would make inside the replayBtn.onclick
???
Thanks!!