This project transformed over the course of the long hours that I worked on it–I started by using an IP API to get the location and then put that into a weather API, then I decided nah, I want it to work on phones, so then I scrapped that and used geolocation instead. A couple of fun functionalities:
- If geolocation is not enabled, it’ll tell you that. It’ll also tell you to go to https:// if you’re not browsing over a secure connection.
- 3-day future forecast with the icons, highs, lows, and chance of precipitation. If you look at it between 12am-6am, your forecast show later that day as the first day (so if it’s 4am on a Sunday, Sunday will still show up as the first day in the forecast).
- I liked the look of having both F and C buttons, so I didn’t do the toggle feature. But when you click on one, all of the temperatures will change, so at least I have that going for me?
Comments, suggestions, and critiques are all welcome! I have a few things I wanted to include, but I’m tired of staring at it for the time being and I’m proud of what I’ve learned and accomplished, so it’s complete for now.
You can find it here.