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

Mobile-first CSS grid layout, with scss, and flexbox in card headers

P
Grace 27,630

@grace-snow

Desktop design screenshot for the Testimonials grid section coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


This is designed to be a guide for one way to do this challenge mobile-first, using scss variables and some more advanced css techniques like nth-child.

I used a VS Code extension to compile the scss.

Note: In a real project I would work with the designer to fix the accessibility issues or color contrast and font sizes.

Any questions or suggestions are welcome.

Community feedback

P
ApplePieGiraffe 30,545

@ApplePieGiraffe

Posted

Hey, sweet job, Grace! 👍

Everything looks good! 👌

A small detail from the original design you might want to add would be the box-shadow around the testimonial cards. 😉

Happy coding! 😁

Marked as helpful

1

P
Grace 27,630

@grace-snow

Posted

@ApplePieGiraffe thanks, totally forgot about those, you're right!

0

@ahmed520b

Posted

That was the cleanest markup I've ever read on Frontend Mentor!

I'd be so happy if you point out my 'bad practices' or my weaknesses in my solutions.

And also give me advice on how to write 'classes' because I struggle a lot with choosing CSS classes and staying consistent!

1

P
Grace 27,630

@grace-snow

Posted

@ahmed520b it doesn't look like you've submitted any solutions yet?

0

@ahmed520b

Posted

@grace-snow I guess I have a problem! Even tho I’ve submitted my solutions and when I go to the challenges page, it shows that I’ve completed the challenge, but when I go to my profile I DO NOT FIND THEM!!

Anyway, you may check my github account and you’ll find the repos there :)

https://github.com/ahmed520b

Thanks in advance ✨

0

@DannyEnagu

Posted

Hey Grace!

Nice and Clean...

1
Roman Filenko 3,335

@rfilenko

Posted

Hi Grace, congrats, clean and nice code, almost perfect to me 😉

Cheers, Roman

2

P
Grace 27,630

@grace-snow

Posted

@rfilenko only 'almost perfect'? haha

0
P

@emestabillo

Posted

Looks good Grace! Been waiting for you to come out with one 😅 The hidden heading for accessibility is a great addition I might just copy it lol.

1

P
Grace 27,630

@grace-snow

Posted

@emestabillo haha, thanks. I copied it from somewhere years ago probably! I pretty much use in every project I work on (I think it can be a bit shorter these days tbh, but it works so I've not bothered investigating)

1

@doums85

Posted

Hi Grace , 😊 Nice work 👍

1

@Rubendvb

Posted

Beautiful work!

0
Rebecca 190

@bexicaaa

Posted

Hey Grace why did you put everything inside of a blockqoute? Is it possible to use div instead? :)

0

P
Grace 27,630

@grace-snow

Posted

@rebecca0208 yes a div is fine to use too. Just make sure there are meaningful elements within it, like paragraphs ☺

1
Rebecca 190

@bexicaaa

Posted

@grace-snow Ofc :) thx!

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