Design comparison
Solution retrospective
Here is the solution for the 3 Column Preview Card challenge. I used Bootstrap library for the responsiveness. Feel free to leave any criticism/suggestion/review!
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, great work on this one. Layout in desktop is good, however the mobile state, the layout is too squeezed, you may need to check and refactor some stylings in mobile layout.
hardy already some great suggestion, just going to add some:
- Firstly, if you are starting out with your web career, never use a framework. Use just pure css or scss, this will make you more knowledgeable about stylings. What you did in bootstrap can be exactly replicated in just css, go fundamentals first okay:>
- Always have a
main
element on your webpage. This helps users to properly navigate your site. On this one, the.container
could use amain
element instead ofdiv
. - Avoid using multiple
h1
on a webpage. Change thoseh1
toh2
. But a webpage needs to have atleast 1h1
. On this case, theh1
would be a screen reader only text. It would have asr-only
class, you can search this stylings in google. Apply it in theh1
element. Theh1
could be:
<h1 class=sr-only> Frontendmentor car collections examples </h1>
- The
learn more
should be a link, usinga
tag and notbutton
. Usebutton
if it will act like a control for something. But on this, it is treated as a link, goa
tag.
Lastly mostly on your part, change some mobile stylings. Make it look good in mobile state. Aside from those, great work once again.
Marked as helpful1@SyllightThewayPosted about 3 years ago@pikamart Thank you so much for the advice! I'll currently new to the path web development and this advice will greatly help me with future projects!
0 - @hardy333Posted about 3 years ago
Hey good job.
Few suggestions:
- try to give cards little small width size, they are too wide on desktop.
- On mobile view it is exactly opposite they are to slim, that's because you are using to big padding, instead of padding use container with wraps all 3 cards and gave all max width, let's say 1100px to that container, then use margin: auto; to center that container..
4@SyllightThewayPosted about 3 years ago@hardy333 Thank you for the advice! Greatly appreciate it!
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