DEV Community

Cover image for 🔧 My First API Project: A Weather App in JS
Amisha sinha
Amisha sinha

Posted on

🔧 My First API Project: A Weather App in JS

Hey DEV community! 👋

I just created a simple Weather App using HTML, CSS, and JavaScript. It fetches live temperature and weather conditions using the WeatherAPI.

🔍 Features:

  • Takes user input for any city
  • Uses fetch() to get data from WeatherAPI
  • Displays current temperature and weather condition
  • Fully responsive and styled with basic CSS

🚀 Try it Live:

👉 Weather App on CodePen

🧠 What I Learned:

  • Working with external APIs
  • Handling user input and errors in JavaScript
  • Using CodePen for quick front-end prototyping

Would love feedback or suggestions on how to improve it! 😊

javascript #webdev #beginners #codepen #showdev

Top comments (0)