html – javascript rock paper scissors score resetting every after one move

Now the code is this: <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <link rel=”stylesheet” href=”style.css”/> <!– Custom Font For HeaderText –> <link rel=”preconnect” href=”https://fonts.googleapis.com”> <link rel=”preconnect” href=”https://fonts.gstatic.com” crossorigin> <link href=”https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap” rel=”stylesheet”> <title>RPS</title> </head> <body> <!– Title Container –> <div class=”header-container”> <div class=”rainbowText”><h1><a href=”https://github.com/Titsnium/rps”>RPS</a></h1></div> </div> <!– Buttons (Rock, Paper, … Read more