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

WeathertheWeatherApp #430

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

Conversation

Fannyhenriques
Copy link

@JennieDalgren JennieDalgren self-assigned this Oct 4, 2024
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 this project!

Nice use of some helper functions and adding comments to the code.
It looks like the next step would be to refactor and see if you can find a way to keep your code a bit cleaner using the DRY approach. This is something you will learn with time, just something to reflect on.

Also, avoid naming a variable as specific as you've done with stockholm and stockholmTemp. Even though this project only displays Stockholm weather, try to keep it more generic to make sense if you choose to swap to Tokyo for example.
city and cityTemp might be better names.

Keep it up 💪

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.

2 participants