Design comparison
Solution retrospective
Any suggestions are welcomed. Looking forward to hear you :)
Community feedback
- @pikapikamartPosted over 3 years ago
Hey, great work on this one. Though the layout is kind of small in desktop but on the mobile view, it is fine.
Some suggestions would be that:
- On your
body
tag, refrain from usingheight: 100vh
since this will only allow the element to have 100% of the remaining viewport's height. Instead usemin-height: 100vh
on this. This make sure it will have a minimum of 100vh and will expand if it needs. Also remove theoverflow: hidden
1.1. Also on the
body
tag. You may want to add. This will align properly the testimonial.align-items: center; display: flex; justify-content: center;
-
By doing number 1, you should now remove all of the
margin
on yourtestimonial01
id selector, because thebody
tag will now make it align properly. -
You don't need to use
br
on this, on yourtextimonial
selector, sincediv
is a block element and will be in the next row. -
Your slider toggle needs to be inside
button
and not justimg
. By usingbutton
, you are allowing it to be keyboard interactive or control interactive. -
Lastly, maybe just adjusting the width of the testimonial and the elements inside it like in the original.
But still, good job on this ^
0@mewebbiePosted over 3 years ago@pikamart all your points are noted and appreciated. However, the reason behind height 100vh for body is to place the background left bottom of the page. Thank you :)
0 - On your
- @palgrammingPosted over 3 years ago
It looks like you got your solution close but if you look in the screenshot and your page. That wavy or zigzag image is currently occupying space in that image container for the people and not behind the people as the layout image and the screenshot show. It should be a simple fix to adjust
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