responsive single price grid component using HTML CSS
Design comparison
Solution retrospective
plz let me know if you have any suggestion especially for responsiveness as its my first try on it
Community feedback
- @VCaramesPosted almost 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
- The
header
element is being used incorrectly ⚠️ and not needed for this challenge.
- ⚠️ The
article
should be wrapping the entire component.
- There are only three headings ⚠️ in this component; “Join our community”, “Monthly Subscription”, and “Why us”. Everything else would be wrapped in a
paragraph
element.
- The button was created with the incorrect element ❌. When users click on the button they should directed to a different part of your site; the
anchor
element will allow this to happen.
More Info:📚
- The “Why Us” list needs to be created using an
unordered list ⚠️
element along with thelist item
element.
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🎆🎊🪅
Marked as helpful1 - The
- @HassiaiPosted almost 2 years ago
Replace <h3> with <h2> to fix the accessibility issues.
The body has a wrong-background-color, to center the main on the page using flexbox, add min-height: 100vh to the body. you can only give the body a padding top and bottom value t not a padding values for all the sides.
In the mobile design, give the main a width value instead of giving the body a padding left and right value to specify the width for a responsive content use max-width instead of width.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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