How gabphilshea/weather-app-project works
WeatherKnower is a browser-based current-weather app. A user enters a city and submits the form; the app requests current conditions from OpenWeatherMap, then displays the city, Celsius temperature, humidity, description, and condition emoji. Weather codes also select adaptive page-background and card styles. The runtime flow is visible in script.js; adaptive styling and the API capability are documented in the README. The referenced config.js is absent from the supplied tree, so it is not represented as a repository component.
Main entry points: script.js Weather display · index.html Weather interface · style.css Adaptive styles
Components 8
Weather app
- Weather interface
index.html - Search handler
script.js - Weather request
script.js - Condition mapping
script.js - Weather display
script.js - Adaptive styles
style.css
Other components
- User
- OpenWeatherMap
Connections 8
- User → Weather interface: enters city
README.md - Weather interface → Search handler: submits form
script.js - Search handler → Weather request: requests data
script.js - Weather request → OpenWeatherMap: fetches conditions
script.js - Search handler → Weather display: passes response
script.js - Weather display → Condition mapping: maps condition
script.js - Weather display → Weather interface: renders results
script.js - Weather display → Adaptive styles: sets condition classes
script.js