Design comparison
Community feedback
- @FlorianJourdePosted over 1 year ago
Hey @Aliha7ish ! That's a good solution !
Be careful, your
.main-heading
goes behind your.main-header
when screen size is under700 px
! Maybe somepadding-top
could be added ?As well, do your know you can set a link with anchor on your arrow down ? Look at something like that :
<a class="arrow" href="#features-section"><img src="img/arrow.png"></a>
You'll be able to scroll down to the next section with this ID, just by clicking on the hyperlink element ! Just add a
html { scroll-behavior: smooth; }
, and you've got a nice scrolling effect really easily ! Pretty cool, huh ?One last thing : I think it's a better practice to put properties like
font-size
oroverflow-x
on thebody
tag, instead ofhtml
.But it's still pretty good, your responsive is also clean !
Keep up coding !
Marked as helpful1
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