Design comparison
SolutionDesign
Solution retrospective
Hi there! I have completed this 3 component preview card challenge. I have coded with the level of knowledge I have for now. Any best practices for improvement, feedback, suggestions are most welcomed!
Thank you and Have a nice day!
Community feedback
- @ChamuMutezvaPosted over 3 years ago
Greetings Deva22
- Your current meta tag
<meta name="viewport" content="width=device-width" />
is missinginitial-scale=1
. Adding the value initial-scale=1 instructs browsers to establish a 1:1 relationship between CSS pixels and device-independent pixels regardless of device orientation, and allows the page to take advantage of the full landscape width. - images are missing the alt tag , if it is a decorative image put an empty alt tag so that screen readers can ignore the image
- you are using css flexbox and at the same time using floats. Floats are no longer really needed in this project and are no longer widely used these days. Flexbox is perfect for this challenge. To get started remove this code in your column class
.column2, column1, column3 { width: 22%; height: 74%; float: left; left:17%; top: 13%; }
happy coding
Marked as helpful1@deva22githubPosted over 3 years agohey @ChamuMutezva! thanks a lot for your valuable comment!, I would surely follow-up the practices and work out the changes you mentioned above. and happy coding you too there!
0 - Your current meta tag
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