-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (51 loc) · 3.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Improviso</title>
<link rel="stylesheet" href="./style.css">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
</head>
<body>
<section class="intro">
<h1>Treine o seu Improviso</h1>
<p>Escolha um número entre 1 e 50.</p>
<p>Aleatoriamente, um Tema e uma Estrutura serão disponibilizados para treinar junto com um cronômetro.</p>
<a href="#treino">
<button>Quero Treinar</button>
</a>
<img src="./croods.png" alt="talking" class="talk">
</section>
<section id="treino">
<p>Digite um número entre 1 e 50:</p>
<input type="number" name="number" id="number" min="1" max="50" required>
<button class="treinar" onclick="displayOnWeb()">Treinar</button>
</section>
<section class="results">
<div class="tema">
<p>Tema Selecionado:</p>
<p id="tema"></p>
</div>
<div class="estrutura">
<p>Estrura Selecionada:</p>
<p id="estrutura"></p>
</div>
</section>
<div id="stopwatch">
<div class="time">00:00:00</div>
<div class="controls">
<button onclick="start()">
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 448 512" class="fa fa-play" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"></path></svg>
</button>
<button onclick="pause()">
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 448 512" class="fa fa-pause" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"></path></svg>
</button>
<button onclick="stop()">
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="fa fa-sync-alt" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z"></path></svg>
</button>
</div>
</div>
<script src="./script.js"></script>
<script src="./stopwatch.js"></script>
</body>
</html>