TAKE-HOME-CHALLENGE-2025 Svelte Themes

Take Home Challenge 2025

The challenge provides instructions for a front-end development assignment to evaluate your ability to : Understand user requirements , Design a functional UI solution , Implement using a modern framework (React or Svelte) and Demonstrate coding and problem-solvingΒ skills

🌀️ Weather Now

A simple and responsive weather application that allows users to quickly check the current weather conditions for any city using the Open-Meteo API.


✨ Features

  • πŸ” Search Weather by City – Enter a city name and get real-time weather data.
  • πŸ“ Geolocation Support – Detect your current location weather.
  • 🌑️ Detailed Weather Info – Temperature, weather condition, wind speed, and humidity.
  • 🎨 Dynamic UI – Background changes based on weather conditions.
  • πŸ“± Responsive Design – Works on both desktop and mobile.
  • ⚠️ Error Handling – Display friendly messages for invalid inputs or network issues.

πŸ›  Tech Stack

  • React – Frontend framework
  • Tailwind CSS – Styling
  • Open Meteo API – Weather data
  • Open Meteo Geocoding API – City to coordinates conversion
  • Deployment – Vercel / Netlify / GitHub Pages

🌐 Live Demo

πŸ‘‰ Click Here to View


πŸ“Έ Preview


βš™οΈ Installation & Setup

Clone the repository and install dependencies:

git clone https://github.com/your-username/weather-now.git
cd weather-now
npm install
npm start

πŸ” How It Works

  1. Enter a city name in the input field.
  2. The app uses Open Meteo Geocoding API to get latitude & longitude.
  3. Fetches current weather from Open Meteo Weather API.
  4. Displays weather details dynamically with UI updates.

🌐 API Used


πŸ“‚ Project Structure

weather-now/
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ SearchBar.jsx
β”‚   β”‚   β”œβ”€β”€ WeatherCard.jsx
β”‚   β”œβ”€β”€ App.js
β”‚   β”œβ”€β”€ index.js
β”œβ”€β”€ package.json
β”œβ”€β”€ tailwind.config.js

πŸš€ Future Enhancements

  • βœ… Dark Mode
  • βœ… Feels Like Temperature
  • βœ… Interactive Map View

🀝 Contribution

Feel free to fork this repository and submit pull requests for improvement.


πŸ“„ License

MIT License Β© 2025 KISHAN PANDEY

Top categories

Loading Svelte Themes