Jessica Brown Posted December 29, 2024 Posted December 29, 2024 Objective Build a mini weather dashboard using a programming language and framework of your choice. The dashboard should display current weather information for at least one location. Requirements Weather Data: Fetch live weather data using a public API (e.g., OpenWeatherMap or WeatherAPI). User Input: Allow the user to input a city name or ZIP code to get the weather details. Display: Present key information like temperature, weather condition (e.g., sunny, rainy), and wind speed in a clean format. Error Handling: Handle errors gracefully (e.g., invalid city names or issues with API connectivity). Stretch Goals (optional): Display a 3-day weather forecast. Include weather icons or color-coded visuals for conditions (e.g., blue for rain, yellow for sunny). Code Quality: Ensure modular design with reusable functions or components and clear comments. Example Output Enter a city: Columbus Enter the state: Oh Current Weather in Columbus, Oh: - Temperature: 75°F - Condition: Clear Skies - Wind Speed: 5 mph Forecast: Day 1: 76°F, Sunny Day 2: 78°F, Partly Cloudy Day 3: 74°F, Rainy Submission Instructions Share your code along with instructions to run it. If you implement visuals (e.g., in a browser), provide a screenshot or link. This challenge combines API usage, user input, and clean output design—a great way to practice practical coding skills. How does this one sound? CodeName: Jessica 💻 Linux Enthusiast | 🌍 Adventurer | 🦄 Unicorn 🌐 My Site | 📢 Join the Forum
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now