Skip to content

Jabulile-tech/A-simple-weather-App-with-javascript-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

# Weather App

A simple interactive weather app built with HTML, CSS, and JavaScript.

## Features

- Displays the current temperature and city.
- Prompts the user to enter their city and temperature on button click.
- Shows a weather emoji in the header:
  - 😢 if it's cold (below 15°C)
  - 😃 if it's hot (above 25°C)
  - 🌤 for moderate temperatures
- Responsive and clean design.

## How to Use

1. Open `index.html` in your browser.
2. Click the **Change city** button.
3. Enter your city and the current temperature when prompted.
4. The header will update with your city, temperature, and the appropriate emoji.

## Customization

- You can adjust the temperature thresholds for "cold" and "hot" in the JavaScript section.
- Feel free to modify the styles in the `<style>` block to match your preferences.

## Credits

Coded by Jabulile Mbali Gamede.

---

Feel free to fork, modify,

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages