Design comparison
SolutionDesign
Solution retrospective
I'm really curious what's the best practice to have a hover on the svg icon but not have the parent div hovered :)
I mean, I can if I include the SVG inline rather than import it, but I tried to keep the input pure
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, great work on this one. Though I need to zoom out to see the desktop layout because you are using
1440px
as breakpoint which is too large for traditional monitors of 1366x768 like I use, toning it down would be really great, the 1440px on the design doesn't mean it is the breakpoint okay.Some suggestions would be:
- Always have a
main
element to wrap the main content of your page. On this one, the.container
should be using themain
instead ofdiv
. - Person's
img
should be using the person's name as thealt
likealt="Emily R"
. A component like this when a person's name and image are both present, use the person's name as the value as it is a meaningful image. - Also when using
alt
attribute, avoid using words that relates to "graphic" such as "profile" and others. Animg
is already an image/graphic so no need to describe it as one. - On the selections, you could use
ul
on those since those are "list" of selections. - Using
button
alone for the selections is not enough, what you could added is add, make use ofaria-live
element that announces a certain selection has been selected or a changes have been made, this way users will be informed properly unlike toggling abutton
but doesn't give any extra information on what happened after toggling it. button
needs to have visual indicator, right now there are none, add a visual indicator on thebutton
's:focus-visible
state.- Avoid using multiple
h1
on a page, use only at least 1 per page so change those into other heading tags. The 3 dots are only decorativesvg's
so addaria-hidden="true"
attribute to it to hide them. - Each card information, referring to the likes
32hrs
10hrs
those are not heading tags, using a heading tag on them does not give any content at all on what the section would contain, usep
tag on them. On a design, a bold or highlighted text doesn't always mean they are heading tags. - Lastly, just the breakpoint, responsiveness.
Aside from those, great work again on this one.
Marked as helpful1 - Always have a
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