
Design comparison
SolutionDesign
Community feedback
- @SanCross354Posted about 1 month ago
Hello Mr. Shoaib. You've done a great job at completing this challenge 😎. There're some advice for your QR Project, such as :
- When it comes to semantic HTML, it'd best to replace <div class ="main"> with <main> tag for better semantics. Then u put <strong> inside an <h2> is unnecessary because <h2z> already emphasize the text (it means u can change it from <h2> to <h1> as the primary heading
- Your <img> tag has an empty alt atribute and this's gonna make it unreadable for screen readers if suddenly the image can't be loaded. You should add alt description.
- There're issues with Layout & Responsiveness. Using margin-left: 40% didn't make our card to be centered on smaller screens. It'd be good if you utilize flex or grid for centering. In your css file, you already used align-items: center and it's ineffective because it only works in display: flex
- The QR image's not responsive because you set it at 255px that could be broken on smaller screens. You can use width: 100% and adjust the container
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