-
Notifications
You must be signed in to change notification settings - Fork 0
/
trickodetskecervene.html
127 lines (105 loc) · 4.41 KB
/
trickodetskecervene.html
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!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">
<title>biggy.jednoduse.cz</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,600&family=Shantell+Sans:wght@300&display=swap" rel="stylesheet">
<style>
footer{
margin-top: 310px;
}
</style>
</head>
<body>
<section class="header">
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container-fluid">
<a class="navbar-brand" href="index.html"><img src="My project-modified.png" alt="" height="80"px></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="mikiny.html">Mikiny</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tricka.html">Trička</a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.html#info">O nás</a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.html#kontakt">Kontakt</a>
</li>
<form class="d-flex" role="search">
<input class="form-control me-2" type="search" placeholder="" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Vyhledat</button>
</form>
</div>
</div>
</nav>
</div>
</section>
<div class="small-container">
<h2 class="title">Vaše objednávka</h2>
</div>
<div class="ukazka">
<img src="https://online-textil.cz/upload/images/g9/qc/g9qcc7qlixjfpkwpc5444g246aymlqa9-441x500.jpg" alt="">
</div>
<div class="udaje">
<h2>Tričko basic červené dětské</h2>
</div>
<div class="velikost"><h5>Velikost:</h5>
<select name="" id="">
<option value=""></option>
<option value="S">S</option>
<option value="M">M</option>
<option value="L">L</option>
</select>
</div>
<div class="velikost">
<h5>
Počet kusů:
</h5>
</div>
<div class="wrapper">
<span class="minus">-</span>
<span class="num">01</span>
<span class="plus">+</span>
</div>
<script>
const plus = document.querySelector(".plus"),
minus = document.querySelector(".minus"),
num = document.querySelector(".num");
let a = 1;
plus.addEventListener("click", ()=>{
a++;
a = (a < 10) ? "0" + a : a;
num.innerText = a;
});
minus.addEventListener("click", ()=>{
if(a > 1){
a--;
a = (a < 10) ? "0" + a : a;
num.innerText = a;
}
});
</script>
<div class="velikost"><h5>Cena za kus: 80Kč</h5></div>
<div class="koupit">
<button>Objednat</button>
</div>
<footer>
<b>Made by: Štěpán "Biggy" Žďánský</b> <br>
<b>Obrázky: <a href="https://online-textil.cz/?_gl=1*n98c46*_up*MQ..&gclid=Cj0KCQjwmZejBhC_ARIsAGhCqnc_W_ayE8ANojvZ66O1i1wlrHs0o4Py_EbRGg4BsW5oOjLOOnLwiDYaAulrEALw_wcB">Online-textil</a></b>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-zYPOMqeu1DAVkHiLqWBUTcbYfZ8osu1Nd6Z89ify25QV9guujx43ITvfi12/QExE" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-Y4oOpwW3duJdCWv5ly8SCFYWqFDsfob/3GkgExXKV4idmbt98QcxXYs9UoXAB7BZ" crossorigin="anonymous"></script>
</body>
</html>