Html & Css - Flexbox

Solution retrospective
I hope you review my code and help me to fix my problem and write cleaner code.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @zenab12
Hey!! Congratulations for completing this challenge.. .
Here are my suggestions..
1-use
<main>
tag and wrap<div class="card"></div>
inside it to make code semantic2-Go down orderly when you are using the headings h1 down to h2 down to h3 and so on . so use h1 instead h3 and change font-size if you want .. This should fix most of your accessibility issues
Regardless you did amazing ,I checked your code on w3 validator and there is no errors or warning in your code and you wrote clean and responsive code using semantic name classes (this make code readable) and flexbox(responsive) so congratulations... hope you find this useful... Happy coding and nice day :-)!!!
Marked as helpful - @PraiseImmanuel
You did a nice work pal. You just had a few accessibility issues. I will advise you always add a (lang = "en-us") attribute to your HTML tag. I believe this link will help
www.w3schools.com/html/html_accessibility.asp
Marked as helpful - @CyrusKabir
Hello my dear friend ♥ you did good on this challenge and here some improvements for your component :
- adding some transitions to your hover effects can make them smooth and better.
- as you can see in hover state on your card img, your overlay
opacity: 0.5
add some opacity to eye icon (svg) so in this design we can see the eye icon have not any opacity so here it's because of little difference betweenopacity
andrgba
or any color system with an alpha for opacity, and and you can read about this problem on this stackoverflow post difference between opacity and alpha.
Join 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