Design comparison
Solution retrospective
Hi, this is my solution for challenge, I look forward to your comments for further improvement. Thank you
Community feedback
- @vanzasetiaPosted almost 2 years ago
Hi, Stalin! 👋
Congratulations on completing this challenge! 👏
Here are some suggestions for improvements.
- Replace all the
h1
withh2
. There should not be more than oneh1
on a page. Manyh1
mean many titles which can confuse the users, especially the screen reader users. - Learn more — How-to: Accessible heading structure - The A11Y Project
- Write your code with consistent styling. You use single quotes on
class='icon'
while the rest of the HTML uses double quotes. - Remove
width: 100%
from thebody
. It is already the default styling. - Never limit the height of the
body
element. Usemin-height
instead. - Remove
width: 100%
from themain
. It is already the default styling. - Remove
height: 100vh
from themain
styling at@media screen and (min-width: 64rem)
. Let the content inside it controls the height.
For your information, it is possible to make the site responsive with no media queries. I recommend taking a look at my solution. I wrote the technique that I used on the
README
.Responsive 3 Column Card Component (No Media Queries) coding challenge solution
I hope this helps. Happy coding!
Marked as helpful0@StalinAMPosted almost 2 years ago@vanzasetia I have already updated it with your suggestions, thank you
0@vanzasetiaPosted almost 2 years ago@StalinAM
Great job! Now, the code has better quality. 👍
0 - Replace all the
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