Advice generator using advice slip JSON API

Solution retrospective
First challenge using an API. Let me know if it works or if it can be improved!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @jgengo-alt
Hello there 👋 I'm back to give some advice on your latest assignment :)
I find interesting that you made yourself the
-- " --
under the advices instead of using an image, you gain speed in loading the page, that's awesome!However, what you gain to load the page, you sadly lost it by reloading the page everytime we click the button. Would have been better to make
onclick
call a function that would have fetch a new advice and replace only the needed text on the page instead of reloading everything.Also with a wide screen, your main div would have benefits having a
max-width
;)Keep going 💪
Marked as helpful - Account deleted
Hi there,
-
put the quote inside a <blockquote> tag instead of h1 to be more semantic
-
check Html report to fix accessibility issues
i hope this is helpful and goodluck!
Marked as helpful -
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