Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Request path contains unescaped characters
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Single price component with grid

@carlito-jdp

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


Hi all,

Any feedback on the code is welcomed!

Thank you

Community feedback

Szymon Rojek 4,540

@SzymonRojek

Posted

Hi Carlito,

Well done :D

Few tips from me:

  • instead of div class="container" will be better to use the main tag here;
  • inside of this main tag you can use one section tag for these three boxes, which can easily become divs (divs are perfect for generic groupings of content);
  • in the second box paragraph => I'd recommend to use two spans (for the price and per month);
  • what do you think about the link instead of button?
  • in the last box instead of p you can use unordered list and list item: ul > li.

Design:

  • first box: these two paragraphs below the green text should be separate (check design file);
  • per month can be in the middle of the price;
  • removing the outline from a button it is not a good practice;

Greetings :D

2

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