Skip to content

Commit 477e725

Browse files
committed
add tips and info
1 parent abb184f commit 477e725

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

basic-projects/rock-paper-scissors/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
<body>
1010

1111
<p class="title">Basic Rock Paper Scissors against Computer</p>
12+
<h3 class="note">> you can play with keys: 'r' for rock, 'p' for paper, 's' for scissors, 'a' for autoplay and 'esc' for resetting score.</h3>
13+
<h3 class="note2">> autoplay doesn't save score.</h3>
1214

1315
<button class="move-button js-rock"><img class="move-icon" src="icons/Rock-emoji.png"> </button>
1416

basic-projects/rock-paper-scissors/rps.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,12 @@ button:hover {
5555
}
5656
button:active {
5757
opacity: 0.6;
58+
}
59+
60+
.note {
61+
margin: 0 0;
62+
}
63+
.note2 {
64+
margin-top: 10px;
65+
margin-bottom: 45px;
5866
}

0 commit comments

Comments
 (0)