Advice Generator App using Fetch API

Solution retrospective
Here's my solution for the Advice Generator app.
I noticed an issue while testing the app on mobile. My button stays active (with glow) unless I click on an empty space. What could be causing this and how do I solve the issue? I'm only seeing this on my mobile phone.
Thank you for your input.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Xeotheosis
Hi there,
The reason that happens is because there's no hover state on mobile devices. You can change it instead to .advice button:active and the button will glow only when you click on it.
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