Number Guesser Challenge Project (JavaScript)

Hi all, here is my solution!

I only have one doubt. In the last task, I was able to generate an alert message if the human input was out of range, but the program still continued onward even though the check failed. Suppose instead of continuing, I want to restart the current round and let the user input the correct value. Is it possible to do this from the script.js file itself or will I have to edit the game.js file?

sharing the link to my code for the number Guesser Challenge