Skip to content
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

Project Weather App #429

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Project Weather App #429

wants to merge 26 commits into from

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

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