-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
216 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Homework 10</title> | ||
</head> | ||
<body> | ||
<select class="breed-select"></select> | ||
<p class="loader">Loading data, please wait...</p> | ||
<p class="error">Oops! Something went wrong! Try reloading the page!</p> | ||
<div class="cat-info"></div> | ||
|
||
<script src="index.js" type="module"></script> | ||
</body> | ||
</html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Homework 11</title> | ||
</head> | ||
|
||
<body> | ||
<header class="page-header"> | ||
<form class="search-form" id="search-form"> | ||
<input type="text" name="searchQuery" autocomplete="off" placeholder="Search images..." /> | ||
<button type="submit">Search</button> | ||
</form> | ||
</header> | ||
<main> | ||
<div class="container"> | ||
<div class="gallery"> | ||
<!-- Картки зображень --> | ||
</div> | ||
</div> | ||
</main> | ||
<script src="index.js" type="module"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
//key api pixaby: 39466689-b0058dc694ac3f446d63717a4 | ||
|
||
// імпорти | ||
|
||
// константи елементів | ||
|
||
// зчитування значення з пошуку та виклик функції запиту на бекенд після сабміта | ||
|
||
// функція запиту на бекенд за массивом зоображень | ||
|
||
// функція додавання розмітки в хтмл | ||
|
||
// + плавне прокручування |