Advice Generator App 2KMiguel64 Solution
Design comparison
Solution retrospective
Hello dear community, I would be grateful if you could provide me feedback about how the website looks like, project structure, what can I improve, etc (:
Community feedback
- @Bayoumi-devPosted over 2 years ago
Hey! It looks good!...
My suggestions:
Document should have one main landmark
, Contain the component with<main>
.Page should contain a level-one heading
, Change<div class="card__header">
to<h1 class="card__header">
You should always have oneh1
per page of the document... in this challenge, you will useh1
just to avoid theaccessibility issue
that appears in the challenge report... but don't useh1
on small components<h1>
should represent the main heading for the whole page, and for the best practice use only one<h1>
per page.- I also suggest you use
<button class="card__button">
instead of<div class="card__button">
... Buttons are used for actions.
<button className="card__button" onClick={ fetchQuote } > <img src="./assets/icon-dice.svg" alt="Advice Generator" /> </button>
I hope this is helpful to you... Keep codingπ
Marked as helpful1@Miguel-Arturo-Madrigal-EscotoPosted over 2 years ago@Bayoumi-dev thanks for your advice. Very helpful
0 - @jonathan401Posted over 2 years ago
Congrats on completing the challenge ππ. I used my mobile phone to check it out and it looks great π. One suggestion though. When I clicked the 'view code' to see your code on GitHub, it lead me to your GitHub profile. It should lead to your project repo. When submitting any challenge, in the form where you are prompted to enter your repository URL, you should enter the URL to the repo where your code is and not to your GitHub profile. This makes it easier for anyone who wants to give a feedback on your code π€. Hope this helps π. Congrats on completing the challenge πππ
Marked as helpful0@Miguel-Arturo-Madrigal-EscotoPosted over 2 years ago@jonathan401 sorry, I didn't realize I had put the wrong link. Thanks (:. Now it's fixed.
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