Skip to content

Commit

Permalink
new file added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishitamukherjee2004 committed Mar 3, 2024
1 parent c7c0ec3 commit 80e1dad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5502
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Rock Paper Scissors</h1>
</div>

<div class="result">
<p>Paper wins over Rock. You won!</p>
<p>Let's Start The Game</p>
</div>

<div class="choices">
Expand All @@ -34,5 +34,5 @@ <h1>Rock Paper Scissors</h1>

<p id="action-message">Make your move</p>
</body>
<script src="style.js"></script>
<script src="script.js"></script>
</html>
2 changes: 1 addition & 1 deletion style.js → script.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let score = document.querySelector(".score");
let result = document.querySelector(".result>p");

const rock = document.getElementById("rock");
const scissor = document.getElementById("scissor");
const paper = document.getElementById("paper");
const scissor = document.getElementById("scissor");

function wins(userChoice, computerChoice){
Expand Down

0 comments on commit 80e1dad

Please sign in to comment.