Skip to content

CSE-TechClub/Weather-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

🌦️ Weather Dashboard

🚀 Introduction

Welcome to the Weather Dashboard! ☀️🌧️ This project allows users to check real-time weather updates for different cities using a weather API. It is a great way to learn about HTML, CSS, JavaScript, and optional React, while working with APIs and improving UI design skills.

🎯 Project Objectives

  • ✅ Fetch weather data using OpenWeatherMap API or Google Weather API
  • ✅ Display real-time temperature, humidity, and wind speed
  • ✅ Search for weather updates by city name
  • ✅ Implement a clean and responsive UI

📂 Folder Structure

📁 weather-dashboard
 ┣ 📂 assets/           # Store images, icons, and stylesheets
 ┣ 📜 index.html       # Main HTML file
 ┣ 📜 style.css        # Stylesheet
 ┣ 📜 script.js        # JavaScript for API requests and functionality
 ┣ 📜 README.md        # Documentation

📌 Features

🌟 Core Features

  • Search Weather by City 🔎: Users can enter a city name to fetch weather data.
  • Real-Time Weather Data ☁️: Displays current temperature, humidity, and wind speed.
  • Weather Icons ⛅: Dynamic icons based on weather conditions.
  • User-Friendly UI 🎨: A simple and visually appealing interface.

🎨 Additional Enhancements

  • 5-Day Forecast 📅 (Optional)
  • Dark Mode Toggle 🌙 (Optional)
  • Save Last Searched City 💾 (Optional)

🛠️ Technologies Used

  • Frontend: HTML, CSS, JavaScript
  • API: OpenWeatherMap API or Google Weather API (for fetching weather data)

📜 How to Get Started

1️⃣ Clone the Repository

git clone https://github.com/your-github-username/weather-dashboard.git

2️⃣ Open the Project Folder

cd weather-dashboard

3️⃣ Open index.html in Browser

open index.html
# OR
start index.html  (For Windows)
# OR
xdg-open index.html (For Linux)

🔑 API Key Setup

  1. Create an account at OpenWeatherMap or explore the Google Weather API
  2. Get your API Key.
  3. Replace YOUR_API_KEY_HERE in script.js with your actual API key:
const apiKey = 'YOUR_API_KEY_HERE';

💡 Learning Outcomes

  • Making API Calls with Fetch 🔥
  • Handling JSON Data & Asynchronous JavaScript 🌍
  • Updating the UI Dynamically 🖥️
  • Using Local Storage for Saving Data 💾

🤝 Contribution Guidelines

Want to improve this project? Follow these steps:

  1. Fork the repo 🍴
  2. Create a new branch: git checkout -b feature-name
  3. Commit changes: git commit -m 'Added a cool feature'
  4. Push the branch: git push origin feature-name
  5. Open a Pull Request 🚀

📞 Need Help?

If you have any questions, feel free to reach out! 🎯

📧 Email us at: csekitclub@gmail.com

Happy Coding! 🚀

About

This repository consists the Weather Dashboard which is designed and developed by the students Of Students club

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors