Design comparison
SolutionDesign
Solution retrospective
I created a function that generates the advice after the users click the button, and it generates the advice as much as it can depending on whether the user will click the button or not and will not remove the first advice.
It's not 100% accurate based on the tasks that the frontend mentor wants but it's fun.
I also want someone to fix this problem as well.
Happy coding.
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