Skip to content

# JS Weather App**JS Weather App** is a lightweight weather forecast application built with vanilla JavaScript. It shows real-time weather and a 5-day forecast using data from the OpenWeatherMap API. 🌦️## Features- Default location set to **Tehran**- Automatically detects and uses the user's location (with permission)- Dynamic **day/night t

License

Notifications You must be signed in to change notification settings

Sumit-807/js-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌤️ js-weather-app

Weather App

Welcome to the js-weather-app repository! This lightweight JavaScript application displays real-time weather for the current day using a clean and responsive interface. Whether you're a developer looking to integrate weather data into your project or just someone who loves to check the weather, this app has you covered.

Table of Contents

Features

  • Real-time Weather Data: Fetches current weather data from OpenWeatherMap.
  • Responsive Design: Adapts to various screen sizes for a seamless user experience.
  • User-friendly Interface: Simple and intuitive layout for easy navigation.
  • Lightweight: Minimal loading times and efficient performance.
  • Customizable: Easily modify styles and functionalities to fit your needs.

Technologies Used

This project utilizes the following technologies:

  • JavaScript: Core programming language for functionality.
  • HTML/CSS: For structuring and styling the application.
  • OpenWeatherMap API: Provides real-time weather data.
  • Vanilla JS: No frameworks or libraries are used, keeping the app lightweight.

Installation

To get started with the js-weather-app, you can download the latest release from the Releases section. Once downloaded, simply extract the files and open index.html in your browser.

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, etc.)
  • Basic knowledge of HTML, CSS, and JavaScript.

Usage

  1. Open the index.html file in your web browser.
  2. Enter your location in the search bar.
  3. Click the "Get Weather" button.
  4. View the current weather details displayed on the screen.

Feel free to explore the code and modify it as you wish. The app is designed to be easy to understand and extend.

Contributing

We welcome contributions! If you have suggestions for improvements or want to add features, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your branch to your forked repository.
  5. Open a pull request to the main repository.

Your contributions help make this project better for everyone.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For questions or feedback, please reach out via GitHub or create an issue in the repository.

Explore More

To see the latest updates and releases, visit the Releases section.

Thank you for checking out js-weather-app! Enjoy the weather, wherever you are! 🌦️

Weather Illustration

Additional Information

API Integration

The app integrates with the OpenWeatherMap API to fetch real-time weather data. You will need to sign up for an API key on their website. Once you have your key, replace the placeholder in the JavaScript file with your actual key.

Responsive Design

The app's design is responsive, meaning it adjusts to different screen sizes. This is achieved using CSS media queries. You can view the app on mobile devices, tablets, and desktops without any issues.

Future Improvements

We have plans for future enhancements, including:

  • Adding a 7-day weather forecast.
  • Implementing user location detection.
  • Improving the UI with more animations and styles.

Feel free to suggest any other features you would like to see!

Community and Support

Join our community on GitHub to share your experiences, ask questions, and provide feedback. Your input is valuable in making this app even better.

Example Use Cases

  1. Daily Planning: Check the weather before heading out for the day.
  2. Travel Planning: Get current weather conditions for your travel destination.
  3. Educational Use: Use this app as a project for learning JavaScript and API integration.

Troubleshooting

If you encounter any issues, check the following:

  • Ensure you have a stable internet connection.
  • Verify that your API key is correct.
  • Look for any error messages in the browser console.

Feedback

We appreciate your feedback! If you have suggestions or find bugs, please open an issue in the repository. Your contributions help improve the app for everyone.

Acknowledgments

Thank you to the OpenWeatherMap team for providing the API, and to the community for their support and contributions. Your efforts make this project possible.


We hope you enjoy using js-weather-app as much as we enjoyed building it! Happy coding! 🌍

About

# JS Weather App**JS Weather App** is a lightweight weather forecast application built with vanilla JavaScript. It shows real-time weather and a 5-day forecast using data from the OpenWeatherMap API. 🌦️## Features- Default location set to **Tehran**- Automatically detects and uses the user's location (with permission)- Dynamic **day/night t

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •