Design comparison
Solution retrospective
Hello! I have just finished the grid section. To be honest, it was hard. But there is something that is not quite right, when the right side becomes too long, the spaces on 2 of my grid sections becomes really big and ugly.
Hoping for tips and advices! :)
Community feedback
- @MelvinAguilarPosted almost 2 years ago
Hello again π. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
HTML π:
-
The
alt
attribute should not contain the words "image", "photo", or "picture", because the image tag already conveys that information.If you want to learn more about the
alt
attribute, you can read this article. π.
CSS π¨:
- Use
min-height: 100vh
instead ofheight: 100vh
. Theheight
property will not work if the content of the page grows beyond the height of the viewport.
I hope you find it useful! π Above all, the solution you submitted is great!
Happy coding!
Marked as helpful1 -
- @arrKhange1Posted almost 2 years ago
Hello! It's almost great solution but there are a bit features to add:
- As for your problem, I would reorder elements on middle screens or even start a medium screen breakpoint a bit further
- Also, you got a container wrapping your grid. It's alright but if you had it with such params as:
width: 80%; max-width: 1440px;
or the tricky one that does the same:
width: min(80%, 1440px);
it would be 2 times greater cause this way you would limit the content width to increase readability and also avoid too expanded content on wide monitors
Marked as helpful1@Median21Posted almost 2 years ago@arrKhange1 Thank you so much for the feedback and tips! Cheers! I will see to it in a little while :)
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