Advice Generator App using React + Vite

Solution retrospective
Centering the button using absolute positioning took some thinking, but with a little math and using "calc(100% - [half the button width])" on a couple axes I got it to work!
What challenges did you encounter, and how did you overcome them?None of the layout of this project was anything I hadn't seen before, but I did have to learn how to interact with an API using "fetch()". Once I watched a couple YouTube videos and got that down it was pretty simple styling everything.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Eric Seall'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