-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (63 loc) · 3.42 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous" />
<link rel="stylesheet" href="style.css">
<title>Using Dog Api</title>
</head>
<body class="bg-info-successs">
<main class="container pt-3 text-center">
<h1 class="d-blok text-center fs-2">Dog pictures by breed</h1>
<div class="row d-flex align-items-stretch">
<div class="mb-4 col-12 col-md-6 ">
<form id="breed-select-form" action="#" class="d-inline-flex align-items-end mb-2">
<div class="me-2">
<label for="selec-breed" class="form-label">Select breed and get picture:</label>
<select id="select-breed" class="form-control" id="select" name="breed" autofocus>
</select>
<!-- <small id="error-msg" class="text-danger p-1 mt-2 d-block"></small> -->
</div>
<!-- <small class="error-msg text-danger p-1 mt-2 d-block">Picture not found</small> -->
<button type="submit" class="btn btn-success ">Find picture</button>
</form>
<!-- <small class="error-msg text-danger p-1 mt-2 d-block"></small> -->
<div id="output-by-select" class="thumbnail one-picture p-2 rounded ">
<img src="./assets/placeholder.png" alt="Dogs placeholder">
<div class="caption">
<p>How does it look like...</p>
</div>
</div>
</div>
<div class="mb-4 col-12 col-md-6 ">
<form id="breed-input-form" action="#" class="d-inline-flex align-items-end mb-2">
<div class="me-2">
<label for="breed">Enter dog breed</label>
<input id="breed" required minlength="2" maxlength="50" placeholder="Breed" name="breed" value="" class="form-control" type="text">
</div>
<!-- <small class="error-msg text-danger p-1 mt-2 d-block"></small> -->
<button type="submit" class="btn btn-success ">Find picture</button>
</form>
<div id="output-by-input" class="thumbnail one-picture p-2 rounded ">
<img src="./assets/placeholder.png" alt="Dogs placeholder">
<div class="caption">
<p>How does it look like...</p>
</div>
</div>
</div>
</div>
<section>
<h2 id="gallery-title" class="gallery-title fs-4 text-start m-0"></h2>
<div id="gallery" class="">
</div>
<nav class="gallery-nav" aria-label="gallery navigation">
<ul id="gallery-pagination" class="pagination justify-content-center">
</ul>
</nav>
</section>
</main>
<script src="main.js"></script>
</body>
</html>