Design comparison
SolutionDesign
Solution retrospective
Any feedback is apreciated 😊
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. The animation is really nice, the layout in desktop is great but it is not responsive at the moment. Like what Carlos said, the content are not being seen properly at those breakpoint that he mentioned. Mobile state though looks great.
Some suggestions would be:
- Always have a
main
element to wrap the main content of your page. On this one, the.dashboard-container
should be using themain
instead ofsection
. - Also, it would be a better markup if the person profile on the left along with the selection below is isolated from the rest of the cards, because they are a section of their own as well those 6 cards. By grouping them, you are making the markup more clearer.
- When wrapping a text-content do not just use
small, span
to wrap it, use meaningful element like ap
tag if it just a regular text or heading tag if it is an heading. - Using
li
as the toggle is not great. Interactive components uses interactive elements. By usingli
you are making it not-accessible. Instead, use a list ofbutton
on this one. If you were to usebutton
you would need to have anaria-live
element that will announce the certainbutton
has been pressed or selected, becausebutton
alone is not informative. - Another approach as well is to use a radio buttons for those selection. This will be nested inside a
fieldset
along with a screen-reader onlylegend
element to which the text-content of thislegend
will describe what is the purpose of those sets of radios. I haven't tackled this challenge yet so I can't give a reference though :>. But it is great for you to be informed about this. - You are missing the
hr
orhrs
word on the number. - Each card title like the
work
should be usingh2
and noth3
. Don't skip a level. - Those bold-numbers-text are not suited to be a heading tag. By making it one, it doesn't convey any information on what the section contains. Use
p
tag on it. - Lastly, making the site responsive as you can^^
Aside from those, great job again on this one.
0 - Always have a
- @Carlos-A-PPosted about 3 years ago
That was a nice intro!
- I noticed that between 750px and 1260px I'm not able to view a few of the cards.
- I see that you used similar id's a couple of times. To my understanding, id's are single-use and are only applied to one element. Each element is attributed as a unique identifier to (only) one single element so I think that's one reason why the report shows multiple errors
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