Clock App with secret API key through serverless function

Solution retrospective
Built with vanilla JavaScript and future CSS through parcel. Also uses a Netlify serverless function to keep the API key secret.
I added basic error handling, so if any of the APIs fail, an error page displays so that the user doesn't see a broken page.
Any suggestions for improvement welcome! :)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Michael Waaler'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