Atmos is a simple, modern weather forecast web app. Enter a city name to get current weather details, or allow location access to see your local weather by default.
- Search weather by city name
- Auto-detect and show weather for your location (using browser geolocation)
- Responsive, Google-style search bar
- Weather details: temperature, description, humidity, wind speed
- Attractive card-based UI with icons
- Graceful fallback to default city (Kolkata) if location access is denied
- HTML5 & CSS3 (modern, responsive design)
- JavaScript (fetches data from OpenWeatherMap API)
- Font Awesome for icons
- On page load, the app requests your location. If allowed, it shows your local weather. If denied, it shows Kolkata's weather.
- You can search for any city using the search bar. Press Enter or click the search icon.
- Weather data is displayed in a styled card, including temperature, description, humidity, and wind speed.
- Clone or download this repository.
- Add your OpenWeatherMap API key in
script.js(replace the value ofapikey). - (Optional) Place humidity and wind icon images in an
Assetsfolder. - Open
index.htmlin your browser.
index.html— Main HTML filestyle.css— App stylingscript.js— Weather app logicAssets/— (Optional) Icon images for humidity and wind
- API keys should not be exposed in public repositories. For production, use a backend to keep keys secure.
- The app uses browser geolocation; users may need to allow location access.
© 2025 Atmos Weather App