Design comparison
Solution retrospective
I chose this challenge to practice Grid Template Areas and Media Queries.
I'm not quite sure how to implement the different fonts for each user's card? I tried both CSS Classes and CSS IDs.
All feedback is welcome. π
Community feedback
- @HassiaiPosted over 1 year ago
The html must have <h1> to fix the accessibility issues.
To center the content on the page using flexbox or grid,
- USING FLEXBOX: add min-height:100vh; display: flex; align-items: center: justify-content: center; to the body
body{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
- USING GRID: Add min-height:100vh; display: grid place-items: center to the body
body{ min-height: 100vh; display: grid; place-items: center; }
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful1 - @visualdennissPosted over 1 year ago
Hi there,
nice work.
ID's for manipulating styles should be used sparingly. For this challenge and usually css classes are the way to go, if you need to specify your css selector, you can use like :first-of-type, :nth-child etc. selectors to target one particular element. Classes are reusable as well, IDs are mostly used by Javascript.
**Hope you find this feedback helpful!
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