Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

3-column-card-preview

#bootstrap

@ejbeloso

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Please let me know your feedback.

Community feedback

Travolgi 🍕 31,500

@denielden

Posted

Hi Ejerson, great work !

To center the cards on the page try using Flexbox, it can help you better: give the flexbox and height properties to the body and remove margin from the .row class.

With bootstrap you can use the default classes:

d-flex
justify-content-center
align-items-center

Note: Flexbox aligns to the size of the parent container.

You can use the vh measurement for the height... Viewport Height handles the sizing of an element in relation to the height of the browser window.

Hope this help ;)

Marked as helpful

0

@ejbeloso

Posted

@denielden thanks a lot for your feedback. This will really help to keep on coding. This was my very first time creating this kind of project on my own. Really appreciate it.

1
darryncodes 6,430

@darryncodes

Posted

Hi Ejerson,

Great effort on this, well done!

I noticed your icon's aren't showing - it's an easy fix, just drop the '/': <img src="icon-luxury.svg" alt="laxury-icon" class="laxury-img"> This might be a helpful guide

I also think using flex-wrap: wrap; should be replaced with flex-direction: column; with a media query to transition from a row to a column for mobile. Otherwise it creates a peculiar layout at tablet. You'll need to switch the location of the border-radius with media query too!

I hope that helps!

0

Please log in to post a comment

Log in with GitHub
Discord logo

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