Submitted about 1 month agoA solution to the Four card feature section challenge
Responsive landing page using CSS Gridbox and Flexbox layout
accessibility, lighthouse
@Cornelio-II

Solution retrospective
What are you most proud of, and what would you do differently next time?
My most proud of, and what would I do differently next time?
- Utilizing CSS Grid and Flexbox layout.
- Utilizing fluid typography.
- Utilizing
LTR
andRTL
approach instead usingmargin-top
ormargin-bottom
, I would usedmargin-block-start
andmargin-block-end
.
Example:
.card-red-color{
margin-block-start: 1.5rem; /* margin-top for internationalization */
border-block-start: var(--red-color) 0.25rem solid; /* border-top for internationalization */
padding: clamp(1.5rem, 2rem, 2rem);
background-color: var(--white-color);
box-shadow: 0rem 0.625rem 1.25rem -0.625rem var(--grey-color-400), var(--grey-color-500) 0rem 0.375rem 0.375rem -0.375rem;
border-radius: 0.375rem; /* 6px for internationalization */
}
You can visit my code to see how I did it.
What challenges did you encounter, and how did you overcome them?The challenges I encountered with the four-card-feature-section challenge are the position.
How did I overcome them? An Interactive Guide to CSS Grid and for the flexbox An Interactive Guide to Flexbox, with these helpful resources written by Josh Comeau's is a fantastic interactive article helps you understand Flexbox and Gridbox.
What specific areas of your project would you like help with?The specific areas of my project I would like help with?
- If I am correctly implementing RTL/LTR approach, fluid typography, and utilizing CSS Gridbox and CSS Flexbox, if I'm doing wrong, please correct me. I am happy for it.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Cornelio R. Llagas Jr.'s solution.
Join 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