-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
32 lines (32 loc) · 1.12 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculadora de Média</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<h1 class="page-title">
Calculadora de média</h1>
<p class="page-subtitle">
Descubra qual a sua média de nota de todas as provas!
</p>
<img src="img/logo-imersao-conversor-de-moedas.svg" class="page-logo" alt=""><br>
<div class="formulario">
<label class="titulo-label" for="nota1">Insira a 1ª nota</label><br>
<input type="number" id="nota1" size="2"/><br>
<label class="titulo-label" for="nota1">Insira a 2ª nota</label><br>
<input type="number" id="nota2" size="2"/><br>
<button type="submit" onclick="calcularMedia()">Calcular</button>
<h2 id="resultado"></h2>
</div>
</div>
<a href="https://alura.com.br/" target="_blank">
<img src="img/alura-logo.svg" alt="" class="alura-logo">
</a>
<script src="js/script.js"></script>
</body>
</html>