First version of my Weather App is up. You type a city name, hit Search,
and it pulls temperature, humidity, wind, feels-like and a short
description from OpenWeatherMap. UI is intentionally plain cuz I wanted to
make sure the API actually works before making it pretty.
Fought my editor’s autocomplete again: it kept rewriting value to
ariaValueMax, which silently broke the search button. Same bug as in my
last project, should really disable that suggestion. Also took me a while
to get the .then / .catch / .finally chain right, especially handling 404
when the city doesn’t exist without crashing the page.
Next version will be a proper redesign. Right now it works but it’s ugly.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.