Interactive-pricing-component with HTML, CSS, JAVASCRIPT
Design comparison
Community feedback
- @memoyePosted about 1 year ago
Hi @vonjytahina,
I've reviewed your solution preview and it looks great! However, I noticed that it's not fully responsive. Here are two suggestions on how to make it more responsive:
Use relative units, such as
em
andrem
, instead of absolute units, such aspx
. This will allow the font sizes and other dimensions to scale relative to the screen size. Avoid using fixed widths and heights. Instead, use flexible layout methods, such as flexbox and grid, to allow the elements on the page to resize and reposition themselves as the screen size changes. For more information on relative units, check out this article: Absolute and Relative CSS Units.I hope this feedback is helpful! Happy coding!
Marked as helpful0
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