Remove word from title and get rid of unnecessary condition in playRound
This commit is contained in:
parent
48d5ef651c
commit
9a9d8a0f81
2 changed files with 1 additions and 3 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,6 @@ function playRound(playerSelection, computerSelection){
|
||||||
} else { //paper
|
} else { //paper
|
||||||
return "player wins";
|
return "player wins";
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
return "not a valid entry";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue