Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 months ago

Weather App using Next js and Open Meteo's weather API

next, pure-css, react, typescript
Toluwalope Adegoke•90
@ulot2
A solution to the Weather app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I’m most proud of building a complete and functional weather app within the hackathon timeline, especially features like search, geolocation, and unit switching. It was a great opportunity to apply what I’ve been learning and see it work in a real project.

Next time, I’d spend more time on UI/UX improvements, performance optimization, and code organization. I’d also like to explore adding more advanced features such as including UV index, visibility, and air pressure data to the app.

What challenges did you encounter, and how did you overcome them?

Integrating the weather API and managing issues like invalid city names or unsuccessful calls were one of my challenges. By experimenting with the API, implementing error handling, and converting the data into a format that my components could utilise, I was able to resolve issue.

Geolocation presented another difficulty. Permission issues occasionally caused it to fail, so I added a fallback that allows users to search manually. This guaranteed that the application will always function independent of location access.

What specific areas of your project would you like help with?

I would like feedback on how I can improve my code structure and best practices, particularly with regard to state management, hooks, and components. In addition, I'm looking for ideas on how to optimise efficiency such as managing API requests more effectively.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Toluwalope Adegoke's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License