-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (61 loc) · 3.63 KB
/
Copy pathindex.html
File metadata and controls
69 lines (61 loc) · 3.63 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather API</title>
</head>
<body>
<link href="https://cdn.jsdelivr.net/npm/flowbite@3.1.2/dist/flowbite.min.css" rel="stylesheet" />
<nav class="bg-white border-gray-200 dark:bg-gray-900">
<div class="flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4">
<a href="https://flowbite.com" class="flex items-center space-x-3 rtl:space-x-reverse">
<img src="images/wether logo.png" class="h-8" alt="Flowbite Logo" />
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">Weather Forecast</span>
</a>
<div class="flex items-center space-x-6 rtl:space-x-reverse">
<a href="tel:5541251234" class="text-sm text-gray-500 dark:text-white hover:underline">Sign up</a>
<a href="#" class="text-sm text-blue-600 dark:text-blue-500 hover:underline">Login</a>
</div>
</div>
</nav>
<nav class="bg-gray-50 dark:bg-gray-700">
<div class="max-w-screen-xl px-4 py-3 mx-auto">
<div class="flex items-center">
<ul class="flex flex-row font-medium mt-0 space-x-8 rtl:space-x-reverse text-sm">
<li>
<a href="#" class="text-gray-900 dark:text-white hover:underline" aria-current="page">Home</a>
</li>
<li>
<a href="#" class="text-gray-900 dark:text-white hover:underline">Company</a>
</li>
<li>
<a href="#" class="text-gray-900 dark:text-white hover:underline">Team</a>
</li>
<li>
<a href="#" class="text-gray-900 dark:text-white hover:underline">Features</a>
</li>
<li>
<form class="max-w-md mx-auto ">
<label for="default-search" class="block text-right text-gray-800 dark:text-white text-lg font-medium"></label>
<div class="relative">
<div class="absolute inset-y-0 start-0 flex justify-end items-center ps-3 pointer-events-none">
<svg class="w-4 h-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"/>
</svg>
</div>
<input type="text" placeholder="Enter city name" id="txtsearchField" class="block w-full p-4 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" required />
<button type="button" onclick="searchByName()" class="text-white absolute end-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">Search</button>
</div>
</form>
</li>
</ul>
</div>
</div>
</nav>
<div id="root">
</div>
<script src="https://cdn.jsdelivr.net/npm/flowbite@3.1.2/dist/flowbite.min.js"></script>
<script src="app.js"></script>
</body>
</html>