Skip to content

Commit

Permalink
Fiz o desafio "d014"
Browse files Browse the repository at this point in the history
Foi um desafio tranquilo, só tive um pouco de dificuldade com aquela parte de "Notas" dividida em "Nota 1" e "Nota 2".
  • Loading branch information
sodiuz committed Jan 2, 2025
1 parent 056e43f commit 534e30b
Showing 1 changed file with 111 additions and 0 deletions.
111 changes: 111 additions & 0 deletions html5-css3/modulo3/desafios/d014/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tabela Desafio 14</title>
<style>

body {
font-family: Arial, Helvetica, sans-serif;
}

h1 {
text-align: center;
}

table {
border-collapse: collapse;
margin: auto;
}

td, th {
border: 1px solid black;
padding: 10px;
}

caption {
padding: 10px;
font-size: 1.5em;
font-weight: bold;
}

thead {
background-color: gray;
color: white;
}

.ext {
text-align: left;
color: white;
background-color: gray;
}

</style>
</head>
<body>
<h1>Desafio 14</h1>
<table>
<thead>
<tr>
<th scope="col" rowspan="2">Área</th>
<th scope="col" rowspan="2">Disciplinas</th>
<th scope="colgroup" colspan="2">Notas</th>
<th scope="col" rowspan="2">Média</th>
</tr>
<tr>
<th scope="col">Nota 1</th>
<th scope="col">Nota 2</th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="4" scope="rowgroup">Exatas</th>
<td>Matemática</td>
<td>0.0</td>
<td>0.0</td>
<td>0.0</td>
</tr>
<tr>
<td>Física</td>
<td>0.0</td>
<td>0.0</td>
<td>0.0</td>
</tr>
<tr>
<td>Química</td>
<td>0.0</td>
<td>0.0</td>
<td>0.0</td>
</tr>
<tr>
<td>Biologia</td>
<td>0.0</td>
<td>0.0</td>
<td>0.0</td>
</tr>
<tr>
<th scope="row" colspan="4" class="ext">Média de Exatas</th>
<td class="ext">0.0</td>
</tr>
<tr>
<th rowspan="2" scope="rowgroup">Humanas</th>
<td>História</td>
<td>0.0</td>
<td>0.0</td>
<td>0.0</td>
</tr>
<tr>
<td>Geografia</td>
<td>0.0</td>
<td>0.0</td>
<td>0.0</td>
</tr>
<tr>
<th scope="row" colspan="4" class="ext">Média de Humanas</th>
<td class="ext">0.0</td>
</tr>
</tbody>
</table>
</body>
</html>

0 comments on commit 534e30b

Please sign in to comment.