1
resposta

CONSOLIDANDO CONHECIMENTO

<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <meta charset="UTF-8">
        <title>Contatos - Barbearia Vieira</title>
        <link rel="stylesheet" href="reset.css">
        <link rel="stylesheet" href="produtos.css">
    </head>
    <body>
        <header>
            <div class="caixa">
                <h1><img src="logo.png" alt="Logo da barbearia vieira"></h1>

                <nav>       
                    <ul>
                        <li><a href="index.html">Home</a></li>
                        <li><a href="produtos.html">Produtos</a></li>
                        <li><a href="contato.html">Contato</a> </li>
                    </ul>
                </nav>
            </div>
        </header>

        <main>
            <form>
                <label for="nomesobrenome">Nome e Sobrenome </label>
                <input type="text" id="nomesobrenome" class="input-padrao" required>

                <label for="email">Email</label>
                <input type="email" id="email" class="input-padrao" required placeholder="seuemail@dominio.com">

                <label for="telefone">Telefone</label>
                <input type="number" id="telefone" class="input-padrao" required placeholder="(xx) xxxxx-xxxx">

                <label for="mensagem">Mensagem</label>
                <textarea cols="70" rows="10" id="mensagem" class="input-padrao"></textarea required>

            <fieldset>
                    <legend class="teste" id="teste">Como prefere nosso contato?</legend>

                    <label for="radio-email"><input type="radio" name="contato" value="email" id="radio-email">Email</label>

                    <label for="radio-telefone"><input type="radio" name="contato" value="telefone" id="radio-telefone">Telefone</label>

                    <label for="radio-whatsapp"><input type="radio" name="contato" value="whatsapp" id="radio-whatsapp" checked>WhatsApp</label>
            </fieldset>

            <fieldset>
                <legend>Qual horário prefere ser atendido?</legend>
                <select name="" id="">
                <option value="">Manhã</option>
                <option value="">Tarde</option>
                <option value="">Noite</option>
                </select>
            </fieldset>

            <label class="checkbox"><input type="checkbox" checked> Gostaria de receber nossas novidades por email?</label>


                <input type="submit" value="Enviar formulário" class="enviar"> 
            </form>

            <table>
                <thead>
                    <tr>
                        <th>Dia</th>
                        <th>Horário</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>Segunda</td>
                        <td>8:00 - 19:00</td>
                    </tr>
                    <tr>
                        <td>Terça</td>
                        <td>8:00 - 19:00</td>
                    </tr>
                    <tr>
                        <td>Quarta</td>
                        <td>8:00 - 19:00</td>
                    </tr>
                    <tr>
                        <td>Quinta</td>
                        <td>8:00 - 19:00</td>
                    </tr>
                    <tr>
                        <td>Sexta</td>
                        <td>8:00 - 19:00</td>
                    </tr>
                    <tr>
                        <td>Sabádo</td>
                        <td>8:00 - 19:00</td>
                    </tr>
                    <tr>
                        <td>Domingos e feriados</td>
                        <td>09:00 - 15:00</td>
                    </tr>
                </tbody>


            </table>
        </main>

        <footer>
            <img src="logo-branco.png" alt="Logo da barbearia Vieira">
            <p class="copyright">&copy; Copyright Barbearia Vieira - 1997</p>
        </footer>
    </body>
</html>
form label, legend {
    display: block;
    font-size: 20px;   
    margin: 0 0 10px;
}

.input-padrao {
    display: block;
    margin: 0 0 20px;
    padding: 10px 25px;
    width: 50%;
}

.checkbox {
    margin: 20px 0;
}

.enviar {
    width: 40%;
    padding: 15px 0;
    background: orange;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    transition: 1s all;
    cursor: pointer;
}

.enviar:hover {
    background: darkorange;
    transform: scale(1.2);

}

table {
    margin: 20px 0 40px;
}       

thead {
    background: #555555;    
    color: white;
    font-weight: bold;
}

td, th { 
    border: 1px solid black;
    padding: 8px 15px;
}
1 resposta

Oi Júnior, tudo bem?

Parabéns por praticar o que viu nas aulas :D

Muito obrigada por compartilhar com a gente o seu código.

Um abraço e bons estudos.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software