-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (67 loc) · 3.11 KB
/
index.html
File metadata and controls
68 lines (67 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Day 76</title>
<style>
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing:border-box; }
html { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size: 62.5%; }
* { margin: 0; padding: 0; list-style: none; outline: none; }
body { background: #000; color: #fff; font-family: Arial, Helvetica, sans-serif; }
.container { margin: 60px auto; max-width: 992px; width: 100%; }
</style>
<link rel="stylesheet" type="text/css" href="./day.css">
</head>
<body>
<div class="container" data-js="shop">
<header class="header">
<h1 class="title">Nerd Calistênico <span class="tagline">vendendo ideias desde 1986</h1>
</header>
<div class="content">
<section class="products">
<ul class="products-list">
<li class="products-item">
<div class="product">
<img class="product-image" src="https://place-hold.it/200x200/ccc" />
<div class="product-description" data-name="Item #1" data-price="12">
<h3 class="product-name">Item #1</h3>
<p><span class="product-price">R$ 12</span></p>
<form class="addToCart" action="cart.html" method="post">
<p>
<label class="addToCart-label" for="qty-1">Quantidade</label>
<input type="text" name="qty-1" id="qty-1" class="addToCart-input" data-js="qty" value="1" />
</p>
<p><button class="submit">Adicionar ao carrinho</button></p>
</form>
</div>
</div>
</li>
<li class="products-item">
<div class="product">
<img class="product-image" src="https://place-hold.it/200x200/ccc" />
<div class="product-description" data-name="Item #2" data-price="20">
<h3 class="product-name">Item #2</h3>
<p><span class="product-price">R$ 20</span></p>
<form class="addToCart" data-js="addToCart" action="cart.html" method="post">
<p>
<label class="addToCart-label" for="qty-2">Quantidade</label>
<input type="text" name="qty-2" id="qty-2" class="addToCart-input" data-js="qty" value="1" />
</p>
<p><button class="submit">Adicionar ao carrinho</button></p>
</form>
</div>
</div>
</li>
</ul>
</section>
</div>
<footer class="footer">Copyright © Nerd Calistenico</footer>
</div>
<script src="./node_modules/jquery/dist/jquery.min.js"></script>
<script src="./shop-helpers.js"></script>
<script src="./shop-dom.js"></script>
<script src="./day.js"></script>
</body>
</html>