practice-time-shopping-list/index.html

45 lines
1.8 KiB
HTML
Raw Normal View History

2022-11-08 16:41:54 +00:00
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<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 rel="stylesheet" href="style/main.css" />
</head>
<body>
<main>
<section class="shopping-container">
<h2 class="shopping-title">Shopping List</h2>
<form class="shopping-form">
<div class="shopping-form-inputs">
<div class="shopping-form-item-wrapper">
<label class="shopping-form-label" for="item-name">Item name</label>
<input id="item-name" class="shopping-form-item-input" name="item-name" type="text" />
</div>
<div class="shopping-form-quantity-wrapper">
2022-11-08 17:13:44 +00:00
<button class="shopping-form-quantity-button shopping-form-decrement-button"
type="button"></button>
2022-11-08 16:58:11 +00:00
<input class="shopping-form-quantity-input" name="item-quantity" type="text" value="1"
disabled />
2022-11-08 17:13:44 +00:00
<button class="shopping-form-quantity-button shopping-form-increment-button"
type="button"></button>
2022-11-08 16:41:54 +00:00
</div>
</div>
<button class="shopping-form-submit-button" type="submit">Add to List</button>
</form>
2022-11-08 17:48:55 +00:00
<div class="shopping-result">
<div class="shopping-result-head">
<strong>Item</strong>
<strong>Quantity</strong>
</div>
<ul class="shopping-items"></ul>
</div>
2022-11-08 16:41:54 +00:00
</section>
</main>
<script src="main.js"></script>
</body>
</html>