My code: https://codepen.io/TheFST/pen/OJbLdzb
What I’m trying to do is, to set the restart button(in this case, a div) to reload, the page once it is clicked. I used the following code:
$("div > #restart").on("click", () =>
location.reload();
)
but when I do this, the coding in the page breaks. Also I’m trying to remove :hover when the round is equal to 5.
TIA!