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 responsive solution to Single Price grid UI challenge

@kanuos

Desktop design screenshot for the Single price grid component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Check out my solution using HTML and vanilla CSS. Feel free to leave a feedback :)

Community feedback

P
Alper 1,010

@adonmez04

Posted

Hi, @kanuos. It's a really good solution. Keep coding. I have a suggestion for you.

You can use grid-template-rows:repeat(3, auto); instead of grid-template-rows; repeat(3, 1fr); for your body > article element. It calculates elements' height values depending on their content. However, the grid items height values should be individual. This will make your design more responsive.

I hope this will help you to improve your perspective. Keep coding. All the best.

Marked as helpful

0

@kanuos

Posted

@adonmez04 That's a great suggestion. I don't know how I missed it. Will fix it. Thanks a lot :)

1
Hassia Issah 50,670

@Hassiai

Posted

Replace the article tag <article> with the main tag to fix the accessibility issues. click here for more on web-accessibility and semantic html.

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

0

@kanuos

Posted

@Hassiai You mean the main should be the parent of the article in the codebase right?

0
Hassia Issah 50,670

@Hassiai

Posted

@kanuos yes

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