Submitted over 1 year ago
Random advice generator built with JS and Axios
@elyyyse
Design comparison
SolutionDesign
Solution retrospective
Question: Since clicking the dice button generates the random piece of advice, I debated how to handle the initial page load. Curious to learn how others might approach that? I left a little easter egg in my solution for anyone who cares to find it.
Other notes:
- I used Axios to call the Fetch API.
- This challenge helped me grok the position property, which I was confused about before.
- I completed this challenge so. much. faster. than the last one. My CSS skills have definitely improved.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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