HTML, CSS, JS, Async/Await. Added Features!!

Solution retrospective
Since this API has a search object, I went ahead and added that feature.
- Enter a keyword and the first result matching that keyword will be displayed.
- If there is no match for the keyword you'll see the message provided by the API telling you no match could be found.
I will update this to return a random advice slip from the API if there is more than one match.
Another thing I added was the dice image spinning while we await a response from the API if the network is slow.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @ToniHunter274
Kudos bro.. This is amazing. I'm also working on this project but I'm having on how to integrate an API into a webpage...Please any tips you could give me would be highly appreciated.
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