Skip to content

kamal-y/SKJ_Weather

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

The Weather App is a simple web application that allows users to check the weather of a specific city. It provides real-time weather information and displays the temperature along with a weather status emoji to make it visually appealing and user-friendly.

Features

  • Real-time Weather: The app fetches real-time weather data from the web using the city name provided by the user.

  • Weather Status Emoji: It uses weather status emojis to represent the current weather conditions, making it easy for users to understand the weather at a glance.

  • Responsive Design: The app is designed to be responsive and works well on various devices, including desktops, tablets, and mobile phones.

  • Error Handling: In case the user enters an invalid city name or there is an issue with fetching weather data, the app gracefully handles errors and displays a friendly message.

Getting Started

To run the Weather App locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Jha-Shubham19/SKJ_Weather.git
  2. Navigate to the project directory:

    cd SKJ_Weather
  3. Install the required dependencies:

    npm install
  4. Start the app:

    npx nodemon src/app.mjs
  5. Open your web browser and visit http://localhost:8000 to access the Weather App.

How to Use

To check the weather of a city, simply follow these steps:

  1. Open the Weather App in your web browser.

  2. In the input field labeled "Enter the city name," type the name of the city you want to check the weather for.

  3. Click on the search button (a magnifying glass icon).

  4. The app will display the weather information for the specified city, including the temperature and a weather status emoji.

  5. If you want to check the weather for a different city, repeat the process with the new city name.

image

Credits

  • wttr.in: A weather service that provides weather data in various formats, used to fetch real-time weather information for cities.

Contributions

Contributions to the Weather App are welcome! If you find any issues or want to add new features, feel free to submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Handlebars 47.3%
  • CSS 30.1%
  • JavaScript 22.6%