Design comparison
Solution retrospective
Finally found a way to use the production build of React JS App and host it on GitHub. The following article helped a lot. Hope this helps other people too. How to Host Your React App on GitHub Pages for Free
Any feedback or improvements in the code will be highly appreciated. Thank you!
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. Layout in desktop looks really good and the mobile layout looks good as well.
Some suggestions would be:
alt
value for the person'simg
could use their full namealt="Jeremy Robson"
.- The 3 dots
svg
should havearia-hidden="true"
since it is only a decorative image. - Avoid using multiple
h1
on a webpage. Those values like32hrs
and others like those, those aren't suited to be a heading tag as well, since they don't give any much more data. - The selections on the bottom-left should be using
input type="radio"
since those are selections and radio buttons are intended for it. Usingbutton
alone is not accessible enough.
Aside from those, the site again looks great.
Marked as helpful1@gjaynir0508Posted about 3 years ago@pikamart Thank you very much for the feedback. I will implement it.
EDIT: I have implemented all of those suggestions. Any further suggestions?
0@pikapikamartPosted about 3 years ago@gjaynir0508 Neat! I forgot to add in the set of radio buttons, sorry :>
Nesting those radio buttons inside a
fieldset
along with thelegend
to describe what the set of radio button dones:<fieldset> <legend> #have a meaningful text in here, describing what the set of radio buttons are for </legend> ... inputs ...labels </fieldset>
The
legend
will be usingsr-only
class, so that it will only be visible to screen-readers. Also maybe create a visual-indicator as well for the selections, you could use:focus-within
on thefieldset
element, then having it an outline, so that users will know that they are on thefieldset
element and are controlling the radio buttons.- The text for the
h1
, the name of the person became small now, check that one out. - The text for the numbers, as I suggested, is not suited to be heading tags, the hours of for each sections shouldn't be using those. Just use
p
tag for them.
Just those, I fogot to add them in the previous feedback:>
Marked as helpful1@gjaynir0508Posted about 3 years ago@pikamart Thank you very much for the detailed feedback. I appreciate your efforts in suggesting changes to the code. I have changed the code to match all the suggestions. Any further suggestions are welcome.
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