-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (71 loc) · 2.88 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
72
73
74
<!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" />
<title>Weather App</title>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous" />
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div class="container">
<div class="square">
<div class="row">
<div class="col-sm-3 col-12">
<ul class="predictions">
<li><mark id="day-description">searching</mark></li>
<li><mark id="weather-description">Cloudy</mark></li>
<li><mark id="precipitation-description">Precipitation 30%</mark></li>
<li><mark id="wind-description">Wind 2<div id="km">km</div>/h</mark></li>
</ul>
</div>
<div class="col-sm-6 col-12">
<h1>
Currently
<span class="yayyy"><span id="temperature-degrees">11</span>º</span>
in
<span id="city-name">Monterrey</span>
</h1>
</div>
<div class="col-sm-3 col-12 text-end">
<div class="button-f">
<button id="changeToF" type="button" class="btn btn-light btn-light1">
Change to f
</button>
</div>
</div>
</div>
<div class="row">
<!-- <i class="fas fa-sun" id="main-icon"></i> -->
<div class="icon-div">
<img src="http://openweathermap.org/img/wn/[email protected]" alt="" id="main-icon">
</div>
</div>
<div class="row mb-4">
<div class="offset-3 col-6">
<form id="search-form">
<div class="row">
<div class="col-9">
<input type="search" class="form-control" placeholder="Enter a city" id="city-input" autocomplete="off"/>
</div>
<div class="col-3">
<button type="submit" class="btn btn-light">Search</button>
</div>
</div>
</form>
</div>
</div>
<div class="weather-forecast" id="forecast"></div>
</div>
<p class="coded">This website was coded by <a class="sofia-hinojosa" href="https://twitter.com/sofiahinojosadl" target="_blank">Sofia
Hinojosa</a> 👩💻
and is <a class="open-sourced" href="https://github.com/sofiahinojosa/weather-app" target="_blank">open sourced</a></p>
</div>
<script src="./index.js"></script>
</body>
</html>