-
Notifications
You must be signed in to change notification settings - Fork 577
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
Annas Weather App #418
base: master
Are you sure you want to change the base?
Annas Weather App #418
Conversation
…eather description
…anged the city variable from const to let since you now can search on other cities than Stockholm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HTML/CSS
- Very nice job following the design! Consider adding a fixed width to your
li
items to create some space in between
JavaScript
- Really good job structuring your JavaScript! You've used clear and descriptive names on most of your variables and functions
- Good idea using toLowerCase and includes for the weather conditions 👍
Clean Code
- The indentation is off in your HTML file. Also, I'd suggest you change to 2 spaces indentation in your JS file as it becomes hard to read when the indentations are this big.
- Don't mix arrow functions with the function keyword
- Since city is not a constant, it should be named in camelCase
Changes Requested
- Clean up the code as requested ☝️ Apart from that - good job!
index.html
Outdated
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove all empty lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your feedback @HIPPIEKICK! I think I have updated according to the changes requested! Best, Anna
…set if statement for night styling and changed variable from CITY to city (camelCase)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⭐️
Netlify link
https://checkthe-weather.netlify.app/