Remove word from title and get rid of unnecessary condition in playRound

This commit is contained in:
lolabird 2023-11-07 21:54:51 -07:00
commit 9a9d8a0f81
2 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Odin Project: Rock Paper Scissors Game</title> <title>Odin Project: Rock Paper Scissors</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
<body> <body>

View file

@ -51,8 +51,6 @@ function playRound(playerSelection, computerSelection){
} else { //paper } else { //paper
return "player wins"; return "player wins";
} }
} else {
return "not a valid entry";
} }
} }