Responsive Advice Generator App using React.js

Solution retrospective
After working on this project, I have learned several key concepts in React and with APIs: State Management: I used state to store and manage the advice, id number, and loading status. API Requests: I used the fetch API to make requests to the Advice Slip API to retrieve advice and id number. Hooks: I used useState and useEffect hooks to manage state and make API requests in my component. Async Operations: I have learned how to handle asynchronous operations, such as making API requests and setting a delay with setTimeout. Overall, working on this project gave me hands-on experience in using React to build a simple app that interacts with an API. This experience will be valuable as I continue to build more complex applications in the future.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Rami Ben Taieb'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