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

Product preview card component

Cas 210

@iguanasplit

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


The text keeps overflowing and i cannot seem to adecuately make it fit inside the container nor to create a scroll.

Im still confused over responsive design and i dont think i managed to achieve the wanted solution

Community feedback

Account Deleted

on your .card {} class you declared a height .card { height: 525px } because of this, the text you put in the card it will overflow to prevent that remove the height you declared in the .card {} class

for my recommendation but it's up to you if you want to follow

focus only in the Desktop layout first once you're comfortable and you build a lots of website even though does not have mobile layout. you can dive now in a mobile layout so that you can now build a website does have a mobile and desktop layout in a better way.

Marked as helpful

2

Suleman 750

@legion40216

Posted

@okayda yes and not to mention remove from the .text{} class width and margin-right and margin-left and over-flow aswell...

Marked as helpful

1

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