forked from M3-Academy/practice-time-shopping-list
62 lines
2.0 KiB
HTML
62 lines
2.0 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<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" />
|
||
|
|
||
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||
|
<link
|
||
|
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap"
|
||
|
rel="stylesheet"
|
||
|
/>
|
||
|
|
||
|
<link rel="stylesheet" href="./assets/css/index.css" />
|
||
|
|
||
|
<title>Shopping List</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<main>
|
||
|
<section class="shopping-container">
|
||
|
<h2 class="shopping-title">Shopping List</h2>
|
||
|
|
||
|
<form action="/" 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 class="shopping-form-item-input" type="text"
|
||
|
id="item-name" name="item-name"/>
|
||
|
</div>
|
||
|
|
||
|
<div class="shopping-form-quantity-wrapper">
|
||
|
<button class="shopping-form-quantity-button shopping-form-decrement-button" type="button">
|
||
|
|
||
|
</button>
|
||
|
<input class="shopping-form-quantity-input" type="text" name="item-quantity" value="1" disabled/>
|
||
|
<button class="shopping-form-quantity-button shopping-form-increment-button" type="button">
|
||
|
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
<button class="shopping-form-submit-button" type="submit">
|
||
|
Add to list
|
||
|
</button>
|
||
|
</form>
|
||
|
|
||
|
<div class="shopping-result">
|
||
|
<div class="shopping-result-head">
|
||
|
<strong>Item</strong>
|
||
|
<strong>Quantity</strong>
|
||
|
</div>
|
||
|
|
||
|
<ul class="shopping-items"></ul>
|
||
|
</div>
|
||
|
</section>
|
||
|
</main>
|
||
|
<script src="./assets/js/index.js"></script>
|
||
|
</body>
|
||
|
</html>
|