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 preview card component

P
Esraa Yaarebβ€’ 130

@EsraaY21

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

Community feedback

Adrianoβ€’ 36,730

@AdrianoEscarabote

Posted

Hello Esraa Yaareb, how are you? I was really pleased with your project, but I’d like to offer some advice that might help:

I noticed that you used a button in which case the best option would be an a, because in my head when a person clicks on a button written Learn More, he is not confirming a form, or something like, it will be redirected to another page, to Learn More about!

to solve this problem do this:

<a href="/">Learn More</a>

The rest is spot on.

Hope it’s helpful to you. πŸ‘

Marked as helpful

1

P
Esraa Yaarebβ€’ 130

@EsraaY21

Posted

@AdrianoEscarabote Yes, you are right. I didn't pay attention to that πŸ˜…

1
Yacoub AlDweikβ€’ 570

@YacoubDweik

Posted

Why are you so brilliant?

It's almost the same I just wanna say the for screens below 768px the card will take full width 100% which is not nice instead you can give the card for Desktop:

  • width: min(95%, 921px);

And for Screens below 768px you can set it like this:

  • width: min(90%, 327px);

I recommend you understanding and start using this min( ) because simple you will love it.

Keep it up ya okhti!

2

P
Esraa Yaarebβ€’ 130

@EsraaY21

Posted

@YacoubDweik Wow, I did not know this even existed in CSS πŸ˜… Need to research about it first. Thank you for the tip!

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