@manojks092
Posted
Nice work out there, but its not completely responsive, resize the screen and around 769x657 you'll find that the cards isn't responsive, it should increase or decrease the height of the cards together. Kindly revisit your code or it'll be better if you use flexbox(as flexbox always keep same height for the elements) . Hope it'll be helpful. Enjoy coding
Marked as helpful
@annab6
Posted
@manojks092 Thanks for your feedback! What is a good way to fix that in your opinion? I am using flexbox already. I am using body as a flex container. Should I put all the 3 cards inside a div and make it flex?
@annab6
Posted
@manojks092 Already fixed with adding flex container around the cards Thanks!
@manojks092
Posted
@Anna60991 exactly, you can wrap all the elements in the container, and its not important to turn body element as a flex container, actually if you use mobile first approach then you'll notice that oftenly you dont have to use any layout method(such as grid /flexbox) for the mobile-first approach, and then for the responsive part you can add container for wrapping the element and make them flex items. Hope it'll be helpful
Marked as helpful
@manojks092
Posted
@Anna60991 Great work there. No need to thanks. All the best and happy coding
@annab6
Posted
@manojks092 will try the mobile-first approach on the next project, thanks!