Skip to content

Commit 057ee19

Browse files
author
plaze
committed
fix: minor bugs
1 parent 8d339cf commit 057ee19

8 files changed

Lines changed: 48 additions & 24 deletions

File tree

Projects/Weather APP/README.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

Projects/Weather APP/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Weather App</title>
8-
<link rel="stylesheet" href="style.css" />
8+
<link rel="stylesheet" href="style/style.css" />
99
<link
1010
rel="stylesheet"
1111
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
@@ -16,8 +16,8 @@
1616
href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap"
1717
rel="stylesheet"
1818
/>
19-
<link rel="stylesheet" href="fadeIn.css" />
20-
<script src="main.js" type="module"></script>
19+
<link rel="stylesheet" href="style/fadeIn.css" />
20+
<script src="script/main.js" type="module"></script>
2121
<script
2222
src="https://kit.fontawesome.com/8b37be8fdd.js"
2323
crossorigin="anonymous"
File renamed without changes.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
export default class CurrentLocation {
2+
#location;
3+
#temp;
4+
#humidity;
5+
#wind;
6+
#icon;
7+
constructor() {
8+
this.#location = null;
9+
this.#temp = null;
10+
this.#humidity = null;
11+
this.#wind = null;
12+
this.#icon = null;
13+
}
14+
get location() {
15+
return this.#location;
16+
}
17+
set location(location) {
18+
this.#location = location;
19+
}
20+
get temp() {
21+
return this.#temp;
22+
}
23+
set temp(temp) {
24+
this.#temp = temp;
25+
}
26+
get humidity() {
27+
return this.#humidity;
28+
}
29+
set humidity(humidity) {
30+
this.#humidity = humidity;
31+
}
32+
get wind() {
33+
return this.#wind;
34+
}
35+
set wind(wind) {
36+
this.#wind = wind;
37+
}
38+
get icon() {
39+
return this.#icon;
40+
}
41+
set icon(icon) {
42+
this.#icon = icon;
43+
}
44+
}
File renamed without changes.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body {
2222
border-radius: 16px;
2323
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
2424
backdrop-filter: blur(4.5px);
25-
-webkit-backdrop-filter: blur(4.5px);
25+
-webkit-backdrop-filter: blur(4.5px);kk
2626
border: 1px solid rgba(202, 141, 141, 0.4);
2727
display: grid;
2828
grid-template-rows: repeat(6, 1fr);
@@ -130,4 +130,3 @@ footer {
130130
bottom: 80px;
131131
}
132132
}
133-

0 commit comments

Comments
 (0)