Skip to content

Commit

Permalink
fix the exit button andother improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
viditvarshney committed Apr 9, 2020
1 parent 9e4fed5 commit 8a13d75
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
</head>
<body>
<div>
<a href="https://github.com/viditvarshney/Reaction-Timer-"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<a href="https://github.com/viditvarshney/Reaction-Timer.github.io"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<h1>Test Your Reactions!</h1>
<h2>Click On The Boxes And Circles As Quickly As You Can! </h2>
<h3>Your best time and the current time is displayed before</h3>
<a id="play_game" href="/main.html">Play Game!</a>
<a id="play_game" href="main.html">Play Game!</a>
</div>

</body>
Expand Down
4 changes: 2 additions & 2 deletions main.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<body>

<a href="https://github.com/viditvarshney/Reaction-Timer-"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<a href="https://github.com/viditvarshney/Reaction-Timer.github.io"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>

<p class="bold">
Your Time: <span id="timeTaken" style="color: green;"></span>
Expand All @@ -22,7 +22,7 @@
</p>
<div>
<button id="rules">Tip</button>
<a href="/index.html"><button id="exit">Exit</button></a>
<a href="index.html"><button id="exit">Exit</button></a>
</div>

<div id="shape"></div>
Expand Down
18 changes: 9 additions & 9 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#shape {

width:200px;
height:200px;
background-color: green;
border: 1px solid blue;
display: none;
position: relative;
width:200px;
height:200px;
background-color: green;
border: 1px solid blue;
display: none;
position: relative;
}
.bold {
font-weight: bold;
color:red;
font-weight: bold;
color:red;
}
button {
text-align: center;
width: 150px;
margin-left: 800px;
border-radius: 10px;
border:none;
}

0 comments on commit 8a13d75

Please sign in to comment.