A simple and elegant weather application built with HTML, CSS, and JavaScript, powered by the OpenWeatherMap API.
- Search for weather information by city name
- Displays temperature, weather description, wind speed, and humidity
- Dynamic background image based on the searched city
- Uses Weather Icons for visual representation
- Responsive layout for various devices
- Node.js and npm (for running the server)
- OpenWeatherMap API Key (get it here)
-
Clone the repository:
git clone https://github.com/Lukearmstrong2201/weather-app.git
-
Install dependencies
cd weather-app npm install
Run the Server:
- bash npm start Open in Browser:
Open your browser and go to http://localhost:5500 or edit in .env
- Get Weather:
Enter the city name in the input field. Click "Get Weather" to fetch and display weather information. Enjoy the Weather!
This application uses the OpenWeatherMap API to fetch weather data. Obtain your API key here and add it to the .env file as described in the installation steps.
Contributions are welcome! Please follow the Contributing Guidelines.