SITE DE LOJA
SITE DE LOJA
SITE DE LOJA
DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<title>Loja de Roupas</title>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#home">Início</a></li>
<li><a href="#produtos">Produtos</a></li>
<li><a href="#contato">Contato</a></li>
</ul>
</nav>
</header>
<section id="banner">
</section>
<!-- Seção de Produtos em Destaque -->
<section id="produtos">
<h2>Produtos em Destaque</h2>
<div class="produto">
<h3>Blusa Colorida</h3>
<p>R$ 49,90</p>
</div>
<div class="produto">
<h3>Camiseta Básica</h3>
<p>R$ 29,90</p>
</div>
<div class="produto">
<h3>Bermuda de Verão</h3>
<p>R$ 59,90</p>
</div>
<div class="produto">
<h3>Calça Jeans</h3>
<p>R$ 89,90</p>
</div>
<div class="produto">
<h3>Sapato Estiloso</h3>
<p>R$ 119,90</p>
</div>
</section>
<footer>
</footer>
<script src="script.js"></script>
</body>
</html>
body {
margin: 0;
padding: 0;
header {
background-color: #333;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
}
header nav ul {
list-style: none;
display: flex;
header nav ul li {
margin-left: 20px;
header nav ul li a {
color: white;
text-decoration: none;
#banner img {
width: 100%;
height: auto;
#produtos {
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.produto {
border-radius: 5px;
padding: 10px;
margin: 10px;
text-align: center;
width: 200px;
.produto img {
width: 100%;
height: auto;
footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px;
position: relative;
bottom: 0;
width: 100%;
produtos.forEach(produto => {
produto.addEventListener('click', () => {
});
});