Design comparison
Solution retrospective
If anyone sees this project. This is my first project and I'd like to know how to make this website more responsive?
Community feedback
- @samd1aPosted over 2 years ago
Hi ELKady, congrats on finishing your first challenge it looks great! To answer your question, removing the
height:
attribute from your#bold
and#light
properties will allow for the text to expand down as the viewport width gets smaller, it also prevents the overlapping you have.Also swap your <section> landmark for a <main> landmark, this allows for the page to be more accessible to screen readers. I would suggest changing your <p id="bold"> to a <h1 id="bold"> for the same reason.
You were so close to centring your card, just add:
html { height: 100%; }
Hope this helps, keep coding!
Marked as helpful0@goushaaPosted over 2 years ago@samd1a
Thank you so much for taking your time to review my code. Your words are so helpful to me ❤0
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