Skip to content

AshleighCodes/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

About

This Weather App is a simple web application that allows users to check the current weather conditions for a specified location. It uses data from a weather API to display the temperature, weather description, and other relevant details.

Language/s Used

  • HTML
  • CSS
  • JavaScript

How to Install and Run the Project

  1. Clone the repository onto your desktop using Terminal / Bash: git clone https://github.com/AshleighCodes/weather-app.git

  2. Navigate to the project directory: cd weather-app

  3. Open index.html in your web browser: You can double-click the index.html file, or right-click and select “Open with” followed by your preferred web browser.

  4. Generate an API key to run the Weather App

  • Visit OpenWeatherMap.
  • Sign up for a free account.
  • Go to the API keys section in your account dashboard.
  • Generate a new API key.
  • Copy the generated key to your clipboard.
  • Paste the key into the designated variable in the script.js file, replacing the placeholder text inside the quotation marks ('ADD-YOUR-API-KEY').

How to Use the Project

  1. Enter a location: In the search bar, type the name of the city or region you want to check the weather for.
  2. Submit the search: Click the search button or press Enter to display the weather details for the entered location.
  3. View the weather information: The app will show the current temperature, weather description, and additional details like humidity and wind speed.

Achievement

Gained experience with API keys and asynchronous JavaScript.

Credits

This project was created following a tutorial by Devression.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors