An open API service indexing awesome lists of open source software.

https://github.com/nexoscreator/web-weather-forecast-starter

A simple and responsive weather forecast web app that allows users to search for real-time weather data and a 5-day forecast. Built with HTML, CSS, and JavaScript, using the OpenWeatherMap API.
https://github.com/nexoscreator/web-weather-forecast-starter

css forecast html javascript weather-app

Last synced: 25 days ago
JSON representation

A simple and responsive weather forecast web app that allows users to search for real-time weather data and a 5-day forecast. Built with HTML, CSS, and JavaScript, using the OpenWeatherMap API.

Awesome Lists containing this project

README

        

![GitHub Pages](https://img.shields.io/github/deployments/nexoscreator/Web-Weather-Forecast-Starter/github-pages.svg?style=flat-square&color=cyan)
![GitHub Release](https://img.shields.io/github/v/release/nexoscreator/Web-Weather-Forecast-Starter.svg?style=flat-square&color=cyan)
![GitHub License](https://img.shields.io/github/license/nexoscreator/Web-Weather-Forecast-Starter.svg?style=flat-square&color=cyan)
![GitHub Code](https://img.shields.io/github/languages/code-size/nexoscreator/Web-Weather-Forecast-Starter.svg?style=flat-square&color=cyan)

---

## 🌤 Weather Forecast App

![image](https://github.com/user-attachments/assets/f678c2c6-8037-426a-9637-0e4c424679c0)

> A simple, responsive weather forecast web app that allows users to search for real-time weather conditions and a 5-day forecast using the OpenWeatherMap API.

---

## ✨ Features

✔ **Location Search:** Search for weather forecasts by entering a city or location.
✔ **Real-Time Weather:** View the current temperature, humidity, wind speed, and weather description.
✔ **5-Day Forecast:** Get a detailed forecast with temperature highs and lows for the upcoming days.
✔ **Responsive Design:** Works smoothly on desktops, tablets, and mobile devices.

---

## 📥 Installation

Follow these steps to set up the project:

1. **Clone the repository:**
```bash
git clone https://github.com/nexoscreator/Web-Weather-Forecast-Starter.git
cd Web-Weather-Forecast-Starter
```
2. **Open `index.html`** in your preferred web browser.
3. **Start searching** for weather updates by entering a city name.

---

## 🎯 Usage

> 1. **Open the app in your browser.**
> 2. **Enter the city name** in the search box and hit Enter or click Search.
> 3. **View real-time weather details and a 5-day forecast.**

---

## 🔗 Useful Links

[![Web Demo](https://img.shields.io/badge/Web-Demo-blue?style=for-the-badge&logo=google-chrome)](https://nexoscreator.github.io/Web-Weather-Forecast-Starter)
[![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-green?style=for-the-badge&logo=github)](https://github.com/nexoscreator/Web-Weather-Forecast-Starter)
[![YouTube Video](https://img.shields.io/badge/YouTube-Video-red?style=for-the-badge&logo=youtube)](https://youtu.be/rMnDe0iEGRs?si=B2viVesOhHYusbBG)

---

## 🌎 API Integration

This app uses the [OpenWeatherMap API](https://openweathermap.org/api) to fetch weather data.

To use the API, follow these steps:

1. Sign up for a free API key from [OpenWeatherMap](https://home.openweathermap.org/users/sign_up).
2. Replace the `API_KEY` placeholder in `script.js` with your actual API key:

```javascript
const apiKey = "YOUR_API_KEY_HERE";
```

3. Save the changes and reload the app.

---

## 🤝 Contributing

We ❤️ contributions! Follow these steps to contribute:

1. 🍴 **Fork** the repository
2. 🌿 **Create** a new branch (`git checkout -b feature/AmazingFeature`)
3. 💾 **Commit** your changes (`git commit -m 'Add some AmazingFeature'`)
4. 🚀 **Push** to the branch (`git push origin feature/AmazingFeature`)
5. 🔃 **Open a Pull Request**

📖 _See our [Contribution Guidelines](CONTRIBUTING.md) for more details._

---

## 📄 License

This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.

---

## ⭐ Support the Project

If you find this project helpful, please consider **starring ⭐ the repository** or **sponsoring 💖 on GitHub**!

---

## 📬 **Contact & Community**

💬 Join us on **Discord**: [Click Here](https://discord.gg/H7pVc9aUK2)
🐦 **Follow on Twitter**: [@nexoscreator](https://twitter.com/nexoscreator)
📧 **Email**: [[email protected]](mailto:[email protected])


Created with ❤️ by @nexoscreator