Design comparison
Community feedback
- @backyardcavemanPosted over 1 year ago
Good work on your first challenge! Here are a couple thoughts that could help in the future:
First is the use of semantic HTML, which would be the difference of using the <main> tag as opposed to where you used the <section> tag. This helps with user accessibility as well as search engine optimization. https://www.youtube.com/watch?v=kX3TfdUqpuU
Second of all is the use of units in css files. Pixels were used for font size, padding and margin when preferably you would use different units for different tasks; like em's or rem's for font size for example. Some units of measurement are absolute and some scale to the size of the application, so its good to know what works best and when. https://www.youtube.com/watch?v=N5wpD9Ov_To&t=294s
All the best, and happy coding!
Marked as helpful1 - @md-abid-hussainPosted over 1 year ago
Great job on completing this challenge
However you need to make it responsive and you have to look for padding as well. Following are the resources that might help you :
Marked as helpful0 - @Kamlesh0007Posted over 1 year ago
To center a content on a page using flexbox or grid USING FLEXBOX: body{ min-height: 100vh; display: flex; align-items: center; justify-content: center; } USING GRID: body{ min-height: 100vh; display: grid; place-items: center; } Hope am helpful.
1
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