-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathweather_index.html
53 lines (41 loc) · 2 KB
/
weather_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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="weather_style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<title>Document</title>
</head>
<body>
<!-- div just for header -->
<div class="d-flex justify-content-center container" id="header">
<!-- button to change between farenheit-celcius -->
<button class='btn btn-primary' id="cf"></button>
<!-- main heading -->
<h2 class="mainHeading">Weather All Around World</h2>
</div>
<!-- div for searchbox and searchbutton (bootstrap)-->
<div class="container" id="searchContainer">
<div id="search">
<form class="form-inline my-2 my-lg-0">
<input id="searchBox" class="form-control mr-sm-2" type="search" placeholder="Search"
aria-label="Search">
<button id="searchBtn" class="btn btn-outline-success my-2 my-sm-0" type="button"><i
class="fa fa-search"></i></button>
</form>
</div>
</div>
<!-- main div to update after search -->
<div id="main">
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
crossorigin="anonymous"></script>
<script src="weather_main.js"></script>
</html>