
Design comparison
SolutionDesign
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Mahmud1Available
Right now, the API call only runs when the button is clicked. To fetch data on page load too, just call the function inside a load event. and your width shuld be static and not be changing
- @Yashbabani0
Right now, the API call only runs when the button is clicked. To fetch data on page load too, just call the function inside a load event.
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