-
Notifications
You must be signed in to change notification settings - Fork 100
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
Kindra + Reyna + Thao (Tigers) - Weather Report #78
base: main
Are you sure you want to change the base?
Conversation
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.
All in all this was a really well done project! GREEN!
<div class="temperature_content"> | ||
<div class="temperature_buttons"> | ||
<span id="increaseTemp">⬆️</span> | ||
<span id="temperatureValue" class="blue"> 58°f </span> |
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.
Not a big deal, but you could leave this element empty and inject your initial state value on first page load. The same goes for lines 47 and 48!
|
||
</html> |
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.
This looks great!
lon: -74.1979576, | ||
temp: 58, | ||
}; | ||
|
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.
Great example of creating state here!
const inputCity = document.getElementById('inputCity'); | ||
inputCity.value = 'Toms River'; | ||
updateCity(); | ||
}; |
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.
Nice use of the helper function here!
No description provided.