Advice Generator App using fetch API and async await functions
Design comparison
Solution retrospective
It is very useful task to understand the basics of interacting with APIs! Helped me to understand javascript promises, using fetch API, async and await functions. Hope I've done it correctly
Community feedback
- @ChamuMutezvaPosted over 2 years ago
Greetings aproskur. Well done , so far so good. Here are a few recommendations :
- since these are quotes, i would suggest using blockquote element instead of a div.
- using fixed width like
width: 350px
for the advice card will prevent the card to be responsive on small devices under a width of 350px and less. Using max-width might help as that will only make sure that the card does not exceed the mentioned size but at the same time allow the card to scale done on small devices.
Marked as helpful0@aproskurPosted over 2 years ago@ChamuMutezva hi Chamu, thank you for your feedback, I absolutely agree regarding responsiveness and have already corrected the widths. I am not quite sure about blockquotes, as in this case <blockquote> tag might be redundant as the quoted text is quite short, <q> is not also required as there is no other surrounding text here on this card. I tried to check if it is a "must" requirement for accessibility, but in this particular case it seem ok not using it, anyway I have checked this tag out too. But I agree a pure div there was not fine, at list a <p> tag should be added there
0
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