Design comparison
Community feedback
- @lack21Posted over 1 year ago
Fantastic work 👍, but I have some recommendations!
-
Remove
width: 100vw
from thebody
,body
is a block level element which by default takes full width available, sowidth: 100vw
does nothing here! -
Replace
height: 100vh
tomin-height: 100vh
in thebody
, the difference is that, when you setheight: 100vh
to something, that means it won't be bigger than that, it might cause some problems in the future, so better approach is to setmin-height: 100vh
, like this in case content is overflowing container will adjust to it!
Marked as helpful2@aya-94Posted over 1 year ago@lack21 Thank for you comment! I've changed that plus increased the heading text and had to apply the font family to the button as I just realised it didn't apply. Image is showing in different colours, I don't know why or if I need to change it, and I got the system review telling me - 'Page should contain a level-one heading', but I have <html lang="en"> in my code that actually they provided, is it weird or is it me? Thank you again!
0@lack21Posted over 1 year ago@aya-94 Level one heading is
h1
, which improves user experience by allowing readers to learn what your page is about at a glance!Just change
h2
toh1
and it's going to be fixed!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