-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (46 loc) · 1.64 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculadora de Médias</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bitter:wght@500&family=Roboto:wght@400;700&family=Young+Serif&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./main.css">
</head>
<body>
<div class="container">
<header>
<img src="./images/logo.png" alt="capelo e diploma">
<h1>Calculadora de Médias</h1>
</header>
<form id="form-atividade">
<input type="text" id="nome-atividade" required placeholder="Nome da atividade" />
<input type="number" id="nota-atividade" required placeholder="Nota da atividade" min="0" max="10" />
<button type="submit">Adicionar +</button>
</form>
<table cellspacing="0">
<thead>
<tr>
<th>
Nome da atividade
</th>
<th>Nota da atividade</th>
<th>Aprovado?</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<td>Média final</td>
<td id ="media-final-valor">---</td>
<td id="media-final-resultado">---</td>
</tr>
</tfoot>
</table>
</div>
<script src="./main.js"></script>
</body>
</html>