Created
August 31, 2023 00:48
-
-
Save CodeAkinori/c0f2119e1c96b78f50259c3f6ea1838c to your computer and use it in GitHub Desktop.
Ariel Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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=Phudu:wght@400;700&display=swap" rel="stylesheet"> | |
| <link rel="stylesheet" href="./main.css"> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <header> | |
| <img src="./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 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">---<span class="resultado aprovado">Aprovado</span></td> | |
| </tr> | |
| </tfoot> | |
| </table> | |
| </div> | |
| <script src="./main.js"></script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment