customise typing game

give it a better look and remove unnecessary lines
pull/1385/head
Zakify 5 months ago
parent cd6eddfd1a
commit ffe6587e15

@ -6,3 +6,6 @@
background-color: lightcoral;
border-color: red;
}
.container{
display: flex;
}

@ -8,15 +8,17 @@
<body>
<h1>Practice your typing</h1>
<div>Click start to have a quote displayed. Type the quote as fast as you can!</div>
<p id="quote"></p>
<p id="message"></p>
<div>
<input type="text" aria-label="current word" id="typed-value" />
</div>
<div>
<button id="start" type="button">Start</button>
<p>Click start to have a quote displayed. Type the quote as fast as you can!</p>
<p id="quote"></p>
<p id="message"></p>
<div class="container">
<div>
<input type="text" aria-label="current word" id="typed-value" />
</div>
<div>
<button id="start" type="button">Start</button>
</div>
</div>
<script src="./index.js"></script>
</body>

Loading…
Cancel
Save