feat(form): Adiciona o form da pagina html

This commit is contained in:
amanda almeida 2022-11-09 19:10:56 -03:00
parent e7f704f8e7
commit 4f6db2b868

65
index.html Normal file
View File

@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shopping List</title>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<main>
<section class="shopping-container">
<h2 class="shopping-title">Shopping List</h2>
<form class="shopping-from">
<div class="shopping-form-inputs">
<div class="shopping-form-item-wrapper">
<label class="shopping-form-label" for="">Item name</label>
<input
class="shopping-form-input"
id="item-name"
type="text"
placeholder="text"
name="item-name"
/>
</div>
<div class="shopping-form-quantity-wrapper">
<button
class="shopping-from-quantity-button shopping-form-decrement-button"
type="button"
>
Adicionar
</button>
<input
name="item-quantity"
type="text"
placeholder="1"
value="1"
disabled
/>
<button
class="shopping-from-quantity-button shopping-form-increment-button"
type="button"
>
Remover
</button>
</div>
</div>
<button class="shopping-form-submit-button" type="submit">
Add to list
</button>
</form>
</section>
</main>
</body>
</html>