I'm making a Javascript game and I don't know how to use the confirm line

I haven’t passed the course so if it is explained later on let me know, if not, then please how do I make it work?

here’s a link to the game

Click here

1 Like

What exactly are you trying to accomplish? I see that the things you are doing are correct.

I want to put in more choices