Submitted over 1 year ago
Flex box to center the card as well as the image.
@AlexMercer4
Design comparison
SolutionDesign
Solution retrospective
Even though this project does not require responsiveness, but I still tried to do it anyway but I don't have much experience there for I could not do it. I hope that by doing more projects I will be create responsive and awasome websie.
Community feedback
- @codingbearyPosted over 1 year ago
Hi! :) The solution looks great but I would recommend improving a few things.
- Accessibility - you should add <main> section and <footer> so browsers can read your code better. Read about semantics in HTML :)
- To center the app perfectly you can wrap it into container and then from CSS add .container { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
- Best practice is to write your HTML and CSS in separate files so keep that in mind :)
- In terms of responsiveness there is nothing to work with in this project because it's small by default
- I think you're using different font so remember to import fonts you want to use into your HTML :)
I hope those tips were helpful :)
Marked as helpful1@AlexMercer4Posted over 1 year agoThank you for the advice. I've started learning web developement fairly recently so its definitely helpful to get advice from someone else. I'm looking forward to more advice/tips in the future.
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