-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
61 lines (52 loc) · 2.27 KB
/
form.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
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Přidej nové jídlo!</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="styl.css">
<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=Poppins:ital,wght@0,300;0,400;0,600;0,900;1,900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="icon" type="image/png" sizes="32x32" href="logo.png">
</head>
<body>
<header>
<a href="index.html">Nejlepší recepty z YouTube</a>
</header>
<main class="container pb-4" id="main">
<div class="row align-items-center mb-3">
<div class="colpe-0">
<h1 class="m-0">
Přidej nové jídlo.
</h1>
</div>
</div>
<div>
<section id="inputs" class="mb-3">
<input type="text" placeholder="Název jídla" name="name" id="input-name" required>
<input type="text" placeholder="Odkaz na video na YouTube" name="url" id="input-url" required>
</section>
<section id="filters" class="form-filters">
</section>
<section class="mt-3">
<input type="hidden" value="" id="last-id">
<button onclick="addData()" id="add-data-btn">Přidat jídlo</button>
</section>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
<script src="app.js"></script>
<script>
redirect();
getBtns2();
getLastId();
</script>
</body>
</html>