Skip to content

bearsanity/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Description

I built this project to strengthen my skills with real-world API integration and dynamic web applications. My motivation was to create something practical and user-focused—an app that delivers meaningful information instantly and provides a smooth, responsive experience.

Through this project, I learned how to work with multiple API endpoints, handle asynchronous requests using fetch() and async/await, manage errors gracefully, manipulate the DOM dynamically, store data persistently with localStorage, and deploy a complete application through GitHub Pages. I also gained experience in structuring JavaScript functions cleanly, designing responsive layouts, and debugging edge cases like missing API data or user typos. I spent a lot more time focusing on proper commenting and labeling of my files with this project. I realized despite spending more time on that, it made the whole project faster and much less of a headache as I could so easily navigate my code and knew where I was at all times.

Usage

-Vist "https://bearsanity.github.io/Weather-App/"

-Enter a city name (e.g., “London”) into the search box and click the Search button (or press Enter).

Screenshot 2025-11-25 at 2 34 56 AM

-The current weather for that city will display: temperature, humidity, wind speed, and weather icon.

Screenshot 2025-11-25 at 2 54 35 AM

-Below that, a five-day forecast will appear with one card per day (approximate midday).

Screenshot 2025-11-25 at 2 55 07 AM

-Each search is saved to your search history; you can click past searches to reload them. On mobile, the searches are under the dropdown in the same place to save screen space.

Screenshot 2025-11-25 at 2 55 53 AM

-Click the Clear History button to delete all saved searches.

Screenshot 2025-11-25 at 2 56 42 AM

Credits

Project implemented by @bearsanity (bear0826 on Discord)

Weather data provided by OpenWeather

License

Copyright (c) [2025] [James Sweeney]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Week 6 homework project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published