Skip to content

js-project-weather-app by Water 2 #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
f430884
files
alex91-html Mar 18, 2025
9f52609
html structure added
alex91-html Mar 18, 2025
25683bb
js file deleted
alex91-html Mar 18, 2025
2557843
wubalubba
osckli990 Mar 18, 2025
5a38cef
test
osckli990 Mar 18, 2025
c47761d
building html
alex91-html Mar 18, 2025
21f139e
Co-authored-by: sofia-grunditz <sofia-grunditz@users.noreply.github.com>
alex91-html Mar 18, 2025
b6e1c3c
html structure
alex91-html Mar 18, 2025
8a7d31a
Merge branch 'main' of https://github.com/alex91-html/js-project-weat…
alex91-html Mar 18, 2025
cdfa2c0
css
alex91-html Mar 18, 2025
e6d10e8
css2
alex91-html Mar 18, 2025
8904984
latest
alex91-html Mar 18, 2025
5275aa4
oscar branch
osckli990 Mar 18, 2025
6d08c9b
padding fixed, sofia
alex91-html Mar 18, 2025
6c12524
padding
alex91-html Mar 18, 2025
3684224
added button div on HTML and styled it on CSS
SelinCoder Mar 18, 2025
40b2319
changed the code to button on HTML and CSS for a more better more pre…
SelinCoder Mar 18, 2025
805e53a
making it mobile first
alex91-html Mar 18, 2025
95a9549
saved local changes before pulling
SelinCoder Mar 18, 2025
ef3bd79
mobile first and changes in styling
alex91-html Mar 18, 2025
a9c71f4
ts document
alex91-html Mar 18, 2025
f0f50e1
API url
alex91-html Mar 19, 2025
9ed4912
made the button
SelinCoder Mar 19, 2025
6e40282
concluding merge
SelinCoder Mar 19, 2025
2f75785
responsiveness and btn fixed
alex91-html Mar 19, 2025
6db3f7f
ts code, api fetch
alex91-html Mar 19, 2025
fbf29ac
errorrrrrrrrorrrr
alex91-html Mar 19, 2025
57338fd
image name changed
alex91-html Mar 19, 2025
0d97d80
ts changes
alex91-html Mar 19, 2025
789e7b1
rounded temp and the sunrise and sunset now displays
osckli990 Mar 19, 2025
7e822fc
oscar: fixes and changes to html, css ,ts
osckli990 Mar 19, 2025
abf667e
responsiveness fixed
alex91-html Mar 20, 2025
8d8c56d
nav bar to the left
alex91-html Mar 20, 2025
3fb07c0
btn and responsiveness
alex91-html Mar 20, 2025
db4624b
responsiveness, btn, general look
alex91-html Mar 20, 2025
73679fd
current location button css
alex91-html Mar 20, 2025
3d4b6e7
last changes
alex91-html Mar 20, 2025
792cd83
celsius
alex91-html Mar 20, 2025
7eef20f
markup todo clean up
alex91-html Mar 20, 2025
122d4bb
latest
alex91-html Mar 20, 2025
86ebbb1
last updates
alex91-html Mar 20, 2025
eec4504
removed some commented out styling, changed ts to display night asset…
osckli990 Mar 20, 2025
3c255a3
added function, which is called instead of duplicate code
osckli990 Mar 20, 2025
a45d74b
netlify link
alex91-html Mar 21, 2025
6037d56
added night time display
osckli990 Mar 21, 2025
31841d6
Merge branch 'main' of https://github.com/alex91-html/js-project-weat…
osckli990 Mar 21, 2025
25e935d
latest
alex91-html Mar 21, 2025
12cfd62
netligy
alex91-html Mar 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# js-project-weather-app
# js-project-weather-app
netlify link: https://watherrr.netlify.app/
6 changes: 6 additions & 0 deletions assets/bad_weather.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions assets/cloud.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/my_location.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/night.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/pin_drop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions assets/sun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
>
<link
rel="stylesheet"
href="./style.css"
>
<link
rel="preconnect"
href="https://fonts.googleapis.com"
>
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin
>
<link
href="https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Jost:ital,wght@0,100..900;1,100..900&family=Merienda:wght@300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
>

<title>Weather App</title>
</head>

<body>
<main>
<section class="container">
<!-- Current Weather -->
<section
id="currentWeatherTwo"
class="current-weather"
>
<nav>
<input
type="search"
class="search"
id="searchCity"
placeholder="Enter city"
>
<button id="searchButton">Search</button>
</nav>
<!-- Temperature -->
<h1 id="temperature">--°C</h1>
<!-- City -->
<h2 id="city">Loading...</h2>
<div id="current-weather"></div>
<!-- Weather Condition -->

<p id="weather-condition">--</p>
<section class="sunrise-sunset">
<div class="sunrise">
<p>Sunrise</p>
<p id="sunrise-time">--:--</p>
</div>
<div class="sunset">
<p>Sunset</p>
<p id="sunset-time">--:--</p>
</div>
</section>
</section>
<!-- Button to get user's location -->
<div class="button-container">
<button
id="coordinates"
class="round-button"
> <img
src="assets/pin_drop.svg"
class="my-location"
> </button>
</div>
<!-- Weather Forecast -->
<section class="weather-forecast">
<div
class="days-column"
id="forecast-days"
></div>
<div
class="icons-column"
id="forecast-icons"
></div>
<div
class="temps-column"
id="forecast-temps"
></div>
</section>
</section>
</main>

<script
defer
src="./script.js"
></script>
</body>

</html>
1 change: 1 addition & 0 deletions node_modules/.bin/tsc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/tsserver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 55 additions & 0 deletions node_modules/typescript/LICENSE.txt
50 changes: 50 additions & 0 deletions node_modules/typescript/README.md
41 changes: 41 additions & 0 deletions node_modules/typescript/SECURITY.md
193 changes: 193 additions & 0 deletions node_modules/typescript/ThirdPartyNoticeText.txt

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions node_modules/typescript/bin/tsc
2 changes: 2 additions & 0 deletions node_modules/typescript/bin/tsserver
132,810 changes: 132,810 additions & 0 deletions node_modules/typescript/lib/_tsc.js

Large diffs are not rendered by default.

659 changes: 659 additions & 0 deletions node_modules/typescript/lib/_tsserver.js

Large diffs are not rendered by default.

222 changes: 222 additions & 0 deletions node_modules/typescript/lib/_typingsInstaller.js
2,105 changes: 2,105 additions & 0 deletions node_modules/typescript/lib/cs/diagnosticMessages.generated.json

Large diffs are not rendered by default.

2,105 changes: 2,105 additions & 0 deletions node_modules/typescript/lib/de/diagnosticMessages.generated.json

Large diffs are not rendered by default.

2,105 changes: 2,105 additions & 0 deletions node_modules/typescript/lib/es/diagnosticMessages.generated.json

Large diffs are not rendered by default.

2,105 changes: 2,105 additions & 0 deletions node_modules/typescript/lib/fr/diagnosticMessages.generated.json

Large diffs are not rendered by default.

2,105 changes: 2,105 additions & 0 deletions node_modules/typescript/lib/it/diagnosticMessages.generated.json

Large diffs are not rendered by default.

2,105 changes: 2,105 additions & 0 deletions node_modules/typescript/lib/ja/diagnosticMessages.generated.json

Large diffs are not rendered by default.

2,105 changes: 2,105 additions & 0 deletions node_modules/typescript/lib/ko/diagnosticMessages.generated.json

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions node_modules/typescript/lib/lib.d.ts
384 changes: 384 additions & 0 deletions node_modules/typescript/lib/lib.decorators.d.ts
22 changes: 22 additions & 0 deletions node_modules/typescript/lib/lib.decorators.legacy.d.ts
41 changes: 41 additions & 0 deletions node_modules/typescript/lib/lib.dom.asynciterable.d.ts
29,610 changes: 29,610 additions & 0 deletions node_modules/typescript/lib/lib.dom.d.ts

Large diffs are not rendered by default.

493 changes: 493 additions & 0 deletions node_modules/typescript/lib/lib.dom.iterable.d.ts

Large diffs are not rendered by default.

147 changes: 147 additions & 0 deletions node_modules/typescript/lib/lib.es2015.collection.d.ts
597 changes: 597 additions & 0 deletions node_modules/typescript/lib/lib.es2015.core.d.ts

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions node_modules/typescript/lib/lib.es2015.d.ts
77 changes: 77 additions & 0 deletions node_modules/typescript/lib/lib.es2015.generator.d.ts
605 changes: 605 additions & 0 deletions node_modules/typescript/lib/lib.es2015.iterable.d.ts

Large diffs are not rendered by default.

81 changes: 81 additions & 0 deletions node_modules/typescript/lib/lib.es2015.promise.d.ts
128 changes: 128 additions & 0 deletions node_modules/typescript/lib/lib.es2015.proxy.d.ts
144 changes: 144 additions & 0 deletions node_modules/typescript/lib/lib.es2015.reflect.d.ts
46 changes: 46 additions & 0 deletions node_modules/typescript/lib/lib.es2015.symbol.d.ts
326 changes: 326 additions & 0 deletions node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts
116 changes: 116 additions & 0 deletions node_modules/typescript/lib/lib.es2016.array.include.d.ts
21 changes: 21 additions & 0 deletions node_modules/typescript/lib/lib.es2016.d.ts
23 changes: 23 additions & 0 deletions node_modules/typescript/lib/lib.es2016.full.d.ts
31 changes: 31 additions & 0 deletions node_modules/typescript/lib/lib.es2016.intl.d.ts
21 changes: 21 additions & 0 deletions node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts
26 changes: 26 additions & 0 deletions node_modules/typescript/lib/lib.es2017.d.ts
31 changes: 31 additions & 0 deletions node_modules/typescript/lib/lib.es2017.date.d.ts
23 changes: 23 additions & 0 deletions node_modules/typescript/lib/lib.es2017.full.d.ts
44 changes: 44 additions & 0 deletions node_modules/typescript/lib/lib.es2017.intl.d.ts
49 changes: 49 additions & 0 deletions node_modules/typescript/lib/lib.es2017.object.d.ts
135 changes: 135 additions & 0 deletions node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts
45 changes: 45 additions & 0 deletions node_modules/typescript/lib/lib.es2017.string.d.ts
53 changes: 53 additions & 0 deletions node_modules/typescript/lib/lib.es2017.typedarrays.d.ts
77 changes: 77 additions & 0 deletions node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts
53 changes: 53 additions & 0 deletions node_modules/typescript/lib/lib.es2018.asynciterable.d.ts
24 changes: 24 additions & 0 deletions node_modules/typescript/lib/lib.es2018.d.ts
24 changes: 24 additions & 0 deletions node_modules/typescript/lib/lib.es2018.full.d.ts
83 changes: 83 additions & 0 deletions node_modules/typescript/lib/lib.es2018.intl.d.ts
30 changes: 30 additions & 0 deletions node_modules/typescript/lib/lib.es2018.promise.d.ts
37 changes: 37 additions & 0 deletions node_modules/typescript/lib/lib.es2018.regexp.d.ts
79 changes: 79 additions & 0 deletions node_modules/typescript/lib/lib.es2019.array.d.ts
24 changes: 24 additions & 0 deletions node_modules/typescript/lib/lib.es2019.d.ts
24 changes: 24 additions & 0 deletions node_modules/typescript/lib/lib.es2019.full.d.ts
23 changes: 23 additions & 0 deletions node_modules/typescript/lib/lib.es2019.intl.d.ts
33 changes: 33 additions & 0 deletions node_modules/typescript/lib/lib.es2019.object.d.ts
37 changes: 37 additions & 0 deletions node_modules/typescript/lib/lib.es2019.string.d.ts
24 changes: 24 additions & 0 deletions node_modules/typescript/lib/lib.es2019.symbol.d.ts
765 changes: 765 additions & 0 deletions node_modules/typescript/lib/lib.es2020.bigint.d.ts

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions node_modules/typescript/lib/lib.es2020.d.ts
42 changes: 42 additions & 0 deletions node_modules/typescript/lib/lib.es2020.date.d.ts
24 changes: 24 additions & 0 deletions node_modules/typescript/lib/lib.es2020.full.d.ts
474 changes: 474 additions & 0 deletions node_modules/typescript/lib/lib.es2020.intl.d.ts

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions node_modules/typescript/lib/lib.es2020.number.d.ts
47 changes: 47 additions & 0 deletions node_modules/typescript/lib/lib.es2020.promise.d.ts
99 changes: 99 additions & 0 deletions node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts
44 changes: 44 additions & 0 deletions node_modules/typescript/lib/lib.es2020.string.d.ts
41 changes: 41 additions & 0 deletions node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts
23 changes: 23 additions & 0 deletions node_modules/typescript/lib/lib.es2021.d.ts
24 changes: 24 additions & 0 deletions node_modules/typescript/lib/lib.es2021.full.d.ts
166 changes: 166 additions & 0 deletions node_modules/typescript/lib/lib.es2021.intl.d.ts
48 changes: 48 additions & 0 deletions node_modules/typescript/lib/lib.es2021.promise.d.ts
33 changes: 33 additions & 0 deletions node_modules/typescript/lib/lib.es2021.string.d.ts
78 changes: 78 additions & 0 deletions node_modules/typescript/lib/lib.es2021.weakref.d.ts
121 changes: 121 additions & 0 deletions node_modules/typescript/lib/lib.es2022.array.d.ts
25 changes: 25 additions & 0 deletions node_modules/typescript/lib/lib.es2022.d.ts
75 changes: 75 additions & 0 deletions node_modules/typescript/lib/lib.es2022.error.d.ts
24 changes: 24 additions & 0 deletions node_modules/typescript/lib/lib.es2022.full.d.ts
121 changes: 121 additions & 0 deletions node_modules/typescript/lib/lib.es2022.intl.d.ts
26 changes: 26 additions & 0 deletions node_modules/typescript/lib/lib.es2022.object.d.ts
39 changes: 39 additions & 0 deletions node_modules/typescript/lib/lib.es2022.regexp.d.ts
25 changes: 25 additions & 0 deletions node_modules/typescript/lib/lib.es2022.string.d.ts
Loading