Css customization, HTML, Bootstrap Grids and Bootstrap container

Solution retrospective
I couldn't get the rounded corners perfectly. Am I doing the whole thing in a wrong way? In my mobile, the cards are not aligned to the center.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @RioCantre
Hello there! Good job in completing this project. Looking at your solution, I would suggest the following for you...
- Remove the border radius in the
.container-card
rule set. Addborder-top-left-radius: 10px;
andborder-bottom-left-radius: 10px;
in.card-orange
and.card-green
withborder-top-right-radius: 10px;
andborder-bottom-right-radius: 10px;
- Include media queries for the responsive design and adjust the borders into
border-top-left-radius: 10px;
andborder-top-right-radius: 10px;
in.card-orange
and.card-green
withborder-bottom-left-radius: 10px;
andborder-bottom-right-radius: 10px;
- Wrap the
container
with specific tag likemain
for readability - Uncomment the
attribution
wrap it withfooter
tag, add your name and links to your work/portfolio.
Overall you did good and Hope this is helpful!
Marked as helpful - Remove the border radius in the
- @denielden
Hi Vinay, great work! For fix the corners fix the
border-radius
property tocontainer-card
. class. You can use firstchild and lastchild.container-card:first-child { border-radius: .5rem 0 0 .5rem } .container-card:last-child { border-radius: 0 .5rem .5rem 0 }
Try to align content with flexbox and removing al
margin
fromrow
andcontainer
class.Wrap the content page into
main
tag for improvide accessibilityAlso try to adding a little
transition
on the button with hover effect ;)Hope this help ;) And keep it up!
Marked as helpful - @vinaximus
Thanks a lot, didn't know about media queries, will research
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