-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (70 loc) · 4.12 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
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" type="image/png" href="images/favicon.png" sizes="16x16" />
<link rel="stylesheet" href="css/style.css">
<title>WeatherApp</title>
</head>
<body>
<aside>
<figure>
<div class="avatar"></div>
<figcaption>Rafał Ciećwierz</figcaption>
</figure>
<button class="hamburger hamburger--squeeze" type="button">
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</button>
<nav>
<div class="contact">
<p>FIND ME AT:</p>
<ul>
<li><a href="https://github.com/rafalciecwierz/" target="_blank" rel="noopener noreferrer"><img class="icons" src="images/github.svg" alt="github"></a></li>
<li><a href="https://www.instagram.com/tigger.swift/" target="_blank" rel="noopener noreferrer"><img class="icons" src="images/insta.svg" alt="instagram"></a></li>
<li><a href="https://www.facebook.com/SeventySwift" target="_blank" rel="noopener noreferrer"><img class="icons" src="images/fb.svg" alt="facebook"></a></li>
</ul>
</div>
<p class="description">Hello, <br>
My name is Rafał. <br>
It's a pleasure to host you. <br>
If you want to check the weather in your city just type it in the field on the right.
<br>
My inspirations for this project:<br>
_<br>
<b>API: </b><a class="links" href="https://openweathermap.org/api" target="_blank" rel="noopener noreferrer">OpenWeather</a><br>
_<br>
<b>Design: </b><a class="links" href="https://www.youtube.com/channel/UCVyRiMvfUNMA1UPlDPzG5Ow" target="_blank" rel="noopener noreferrer">DesignCourse</a><br>
_<br>
<b>Back-end: </b><a class="links" href="https://www.udemy.com/javascript-bootcamp-2016/" target="_blank" rel="noopener noreferrer">Accelerated JavaScript Training</a><br>
<br>
I hope it was usefull! :) <br>
Have a nice day!<br>
</p>
</nav>
</aside>
<main class="weather-welcome mainBox" >
<h1>Weather but better</h1>
<div class="searchbox">
<input class="inputSearch" type="search" name="searchBox" id="searchBox" required>
<label for="searchBox">City Name</label>
<svg class="searchButton" viewBox="-5 -5 35 35" width="40px" height="40px" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path d="M14.757 20.171c-.791.523-1.738.829-2.757.829-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.019-.306 1.966-.829 2.757l2.829 2.829-1.414 1.414-2.829-2.829zm-9.082-1.171c-3.438 0-5.675-2.629-5.675-5.5 0-2.702 1.951-4.945 4.521-5.408.212-3.951 3.473-7.092 7.479-7.092s7.267 3.141 7.479 7.092c2.57.463 4.521 2.706 4.521 5.408 0 2.855-2.218 5.5-5.675 5.5.3-.63.508-1.31.608-2.026 1.726-.214 3.067-1.691 3.067-3.474 0-2.969-2.688-3.766-4.432-3.72.323-3.983-2.115-6.78-5.568-6.78-3.359 0-5.734 2.562-5.567 6.78-1.954-.113-4.433.923-4.433 3.72 0 1.783 1.341 3.26 3.068 3.474.099.716.307 1.396.607 2.026m6.325-6c1.655 0 3 1.345 3 3s-1.345 3-3 3c-1.656 0-3-1.345-3-3s1.344-3 3-3"/></svg>
</div>
<p class="load">Loading...</p>
<div class="weather">
<h2>Poznań </h2> <img class="flag" src="" alt="Country flag">
<h3 class="weatherDescription">few clouds</h3>
<p class="weatherTemperature">Temperature: 22°C</p>
<p class="weatherWind">Wind: 2.6 m/s</p>
<p class="weatherClouds">Clouds: 20%</p>
<p class="weatherPressure">Air pressure: 1010 hpa</p>
</div>
</main>
<script src="scripts/init.js"></script>
<script src="scripts/weather-data.js"></script>
<script src="scripts/script.js"></script>
</body>
</html>