Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Advice Generator Fetching Data using Axios in React

#axios#react#fetch
P
visualdennisβ€’ 8,295

@visualdenniss

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


In this project, i've used Axios Library to fetch data from the API endpoint. For fun, i've also added fetching data from random cat gif api that is displayed below advices, to make it more interesting. Hope you guys like it.

Community feedback

Abdul Khalidβ€’ 69,860

@0xabdulkhalid

Posted

Hello there πŸ‘‹. Congratulations on successfully completing the challenge! πŸŽ‰

  • I have other recommendations regarding your code that I believe will be of great interest to you.

HTML 🏷️:

  • Your solution generates accessibility error reports due to non-semantic markup
  • So fix it by replacing the <div class="advice-generator"> with semantic element <main> to improve accessibility and organization of your page.

I hope you find it useful! πŸ˜„ Above all, the solution you submitted is great!

Happy coding!

0

P
visualdennisβ€’ 8,295

@visualdenniss

Posted

@0xAbdulKhalid Hi,

Thanks, but please avoid copy-pasting same generic text over and over on every new submission.

Try to make your suggestion related to the posted submission and to the issues that are actually there.

I suggest you to please read and follow the community guidelines in order to not risk your account red flagged: See section called Copy/paste the same minimal feedback on multiple solutions in https://medium.com/frontend-mentor/frontend-mentor-community-guidelines-44303cc38aa6

Thanks.

1
Abdul Khalidβ€’ 69,860

@0xabdulkhalid

Posted

@visualdenniss

  • Look at the code at line 8
  • I'm not copy/pasting, I'm mentioning your code with proof
  • Just head to your code and look at where you done the semantic mistake

Thanks.

0
P
visualdennisβ€’ 8,295

@visualdenniss

Posted

@0xAbdulKhalid

Thanks for pointing it out semantic mistake.

I've just seen that tactic of repeating of automatical accessibility warnings in the comments too many times -which is the easiest and fastest way to earn points with minimal effort-, so that i've not even noticed that there is a minimal customization added.

0

Please log in to post a comment

Log in with GitHub
Discord logo

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