@pikapikamart
Posted
Hey, nice work on this one. I see that you somehow went on another approach on this one, it's fine but I really recommend that when you tackle other challenges, following the design itself should be the best ui approach :>
Here are some other suggestions besides Deniel helpful suggestion and don't mind me reiterating some already suggested ones:
- Using
main
tag on the.container
instead ofdiv
would make the site more accessible. When creating websites, you should usemain
tag to nest the main-content of that webpage, on this case, the whole content should be inside themain
. - To center the contents on your solution, you don't need to use
margin
on the.container
since it is not really consistent. What you can do is that, add these stylings on the.container
:
justify-content: center;
min-height: 100vh;
This way, the item will be centered properly and dynamically.
- The
margin
on the.card
could be removed since its parent (.container
) is already making it centered. - For the
img
, you could just usealt=""
andaria-hidden="true"
on it since the image doesn't really depict anything visually and could just be left empty so that screen reader won't read it. - Also when you use
img
orsvg
, you don't use words that relates to graphic like "image"` since those elements are already graphics. - For the bold text, you can use
h1
on it for now. Remember that a webpage needs to have anh1
and you can replace thep
tag with it on this. - When wrapping up text content, use meaningful elements like a
p
tag, change yourspan
into usingp
tag.
Aside from those, great job again on this one^^
Marked as helpful