Random quotes fetched from a specific website which derives JSON text.
Design comparison
Solution retrospective
local server issue
in my local server, I encountered not being able to re-generating the quote, but when I launched it online, I figured out that it's only locally. how to make my local live server working well as an alive one!?
Community feedback
- @ericsalviPosted over 1 year ago
Hey @Bader-Idris,
First of all, this one looks great. I am seeing it working in your preview and looking at the JS it looks to be clean and valid. I do know with this API there is a cool down so you are unable to quickly call a piece of new advice spamming the button. Is this what you are referring to?
As for the code itself, it is very clean and straightforward. One thing I would suggest is maybe adding a simple
cursor: pointer
to the dice icon so the user knows it is clickable.Other than that, something you could try doing for future challenges is using no
divs
orspans
and only semantic HTML.Great job with this one and keep up the momentum!
1
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