Skip to content

Project Weather App#429

Open
joheri1 wants to merge 136 commits intoTechnigo:masterfrom
joheri1:master
Open

Project Weather App#429
joheri1 wants to merge 136 commits intoTechnigo:masterfrom
joheri1:master

Conversation

@joheri1
Copy link

@joheri1 joheri1 commented Sep 29, 2024

…d that came along with the instructions, to avoid security leak mail from GitHub
…mperatur. Update DOM selectors and HTML with correct ID and names.
…ngitud, and add forecast BASE_URL and forecast URL.
…a global const and place the const for todayURL inside the function, and finally add city as a parameter to that function. Test dynamic city by adding Las Vegas as a param in function invocation
…and Temp. JS: Fix forecast filtering, add forEach loop to display forecast at 12:00 and to add day name using weekdays array.
Copy link
Contributor

@JennieDalgren JennieDalgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job with the project.

Great work with

  1. Async/Await Usage: The code uses async/await for fetching data, which makes it more readable and easier to handle.
  2. Error Handling: There are try/catch blocks to handle errors during API calls.
  3. DOM Manipulation: The code dynamically updates the DOM with weather data
  4. Separation of functions: Functions are well-defined and divided up into understandable chunks.

Things to fix:
image
It feels strange with a sunrise at 15:38.
Either show the local time or change the design to clearly show the user that the sunrise and sunset times are shown in the timezone the user is in. Or both.

@joheri1
Copy link
Author

joheri1 commented Oct 10, 2024 via email

joheri1 and others added 30 commits April 8, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants