-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mudei
- Loading branch information
Showing
1 changed file
with
93 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,95 @@ | ||
# Front-End | ||
Retomada HTML | ||
<h1>Teste</h1> | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Amazon-Like</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
background-color: #f4f4f4; | ||
} | ||
|
||
header { | ||
background-color: #232f3e; | ||
color: #fff; | ||
padding: 10px; | ||
text-align: center; | ||
} | ||
|
||
section { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-around; | ||
padding: 20px; | ||
} | ||
|
||
.product { | ||
background-color: #fff; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
padding: 20px; | ||
margin: 10px; | ||
width: 300px; | ||
} | ||
|
||
.product img { | ||
max-width: 100%; | ||
height: auto; | ||
} | ||
|
||
footer { | ||
background-color: #232f3e; | ||
color: #fff; | ||
padding: 10px; | ||
text-align: center; | ||
position: fixed; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<header> | ||
<h1>Amazon-Like</h1> | ||
</header> | ||
|
||
<section> | ||
<div class="product"> | ||
<img src="produto1.jpg" alt="Produto 1"> | ||
<h2>Nome do Produto 1</h2> | ||
<p>Descrição do Produto 1.</p> | ||
<p>R$ 99,99</p> | ||
<button onclick="adicionarAoCarrinho(1)">Adicionar ao Carrinho</button> | ||
</div> | ||
|
||
<div class="product"> | ||
<img src="produto2.jpg" alt="Produto 2"> | ||
<h2>Nome do Produto 2</h2> | ||
<p>Descrição do Produto 2.</p> | ||
<p>R$ 149,99</p> | ||
<button onclick="adicionarAoCarrinho(2)">Adicionar ao Carrinho</button> | ||
</div> | ||
|
||
<!-- Adicione mais produtos conforme necessário --> | ||
|
||
</section> | ||
|
||
<footer> | ||
© 2024 Amazon-Like | ||
</footer> | ||
|
||
<script> | ||
function adicionarAoCarrinho(idProduto) { | ||
// Lógica para adicionar o produto ao carrinho | ||
alert("Produto adicionado ao carrinho!"); | ||
} | ||
</script> | ||
|
||
</body> | ||
</html> |