Design comparison
Solution retrospective
1st attempt at building this summary card out with just plain HTML, CSS. Quite happy with how it looks on desktop but am having trouble making it mobile friendly. Any tips, suggestions, and feedback is welcome! Planning on improving this later on to address the mobile and accessibility issues!
Thank you! #HappyCoding
Community feedback
- @FluffyKasPosted about 3 years ago
Hey, it's a good solution and I'd say it's mobile-friendly enough :) Few improvements you could make:
-
If you wanted to get rid of the accessibility issues, it would take no more than a minute, just swap the attribution
div
tofooter
and your card-container tomain
. -
There's an overflow on your body, but it's an easy fix, swap the
height
tomin-height
. Fixed height in general are not needed/lead to problems. -
Alt attributes: I see you used "Hero banner image" as an alt which suggests you're not quite sure about what an alt does. Here's this awesome article that gives you a very good explanation: (https://axesslab.com/alt-texts/). I feel like I'm sharing this article everywhere, but it's really awesome :)
-
Buttons: they use the browser's default font-family. I'm afraid you need to set font-family for buttons specifically, otherwise this happens. Or, if you wanted to get rid of all browser default, you can use
all: unset
on them.
0@jma26Posted about 3 years ago@FluffyKas Thank you! Your insight and suggestions are really helpful and I greatly appreciate it! You are right about the alt attribution - I had no clue what to put but your link cleared my confusion and understanding!
:D
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