-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (53 loc) · 2.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>API Website</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1>Image Search App</h1>
<form action="">
<input type="text" id="search-input" placeholder="search for images" />
<button type="submit" id="search-button">Search</button>
</form>
<div class="search-results">
<div class="search-result">
<img
src="https://images.unsplash.com/photo-1689631281436-0123773c8cff?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=387&q=80"
alt="fox-image"
/>
<a
href="https://unsplash.com/photos/a-red-fox-sitting-in-a-field-of-tall-grass-n_5lbaZ_n8c"
target="blank"
>A Fox Standing In the Green Field</a
>
</div>
<div class="search-result">
<img
src="https://images.unsplash.com/photo-1661956602139-ec64991b8b16?ixlib=rb-4.0.3&ixid=M3wxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=365&q=80"
alt="fox-image"
/>
<a
href="https://unsplash.com/photos/a-red-fox-sitting-in-a-field-of-tall-grass-n_5lbaZ_n8c"
target="blank"
>Laptop Image with Phone</a
>
</div>
<div class="search-result">
<img
src="https://images.unsplash.com/photo-1544269437-11b780a9d7d5?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcxMTh8MHwxfHNlYXJjaHw5fHxtYWhha2FsfGVufDB8fHx8MTY4OTg0NTAwOHww&ixlib=rb-4.0.3&q=80&w=400"
alt="fox-image"
/>
<a
href="https://images.unsplash.com/photo-1544269437-11b780a9d7d5?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcxMTh8MHwxfHNlYXJjaHw5fHxtYWhha2FsfGVufDB8fHx8MTY4OTg0NTAwOHww&ixlib=rb-4.0.3&q=80&w=400"
target="blank"
>Swarg Jane Ka Rasta</a
>
</div>
</div>
<button id="show-btn">Show More</button>
<script src="script.js"></script>
</body>
</html>