Clock app

Solution retrospective
The most difficult part is when I set min-height: 100vh on the container, it works well on the desktop browser and in the dev tools, but in the mobile view the button was covered by menu bar, like safari, google. My solution is to use JS to fix the issue.
The areas of code I'm not sure about is the async part in the init(), If anyone knows the best practice please share it with me, thank you!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Danny Wen'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