Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions 4-typing-game/solution/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@
background-color: lightcoral;
border-color: red;
}
.container{
display: flex;
}
20 changes: 11 additions & 9 deletions 4-typing-game/solution/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down