Responsive advice generator with loading animations

Solution retrospective
Just started learning Next.js and wanted to fun project to practise. While testing at slow network speeds noticed that the app needed a loading state. So while advice is being fetched, the card animates with placeholder text and dice spins.
What challenges did you encounter, and how did you overcome them?Learning and using a new framework was the challenge. Learn Next.js has some very good resources.
What specific areas of your project would you like help with?I noticed the card layout can shift quite a bit when new advice is displayed since the content size changes. Any suggestions on how to best minimize layout shifts when content size is unknown? All feedback is appreciated!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on snhase'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