Responsive Landing Page with CSS Grid using Organized SCSS
Design comparison
Solution retrospective
Hi, all!
This is my first landing page. I use organized SCSS as a practice to real world long project.
I wondering how to hide / disable activated dashboard on device mode by clicking outside window.
Also I don't have any idea how to complete the project without Javascript code, since the description says that it's possible to complete the project by only using html and css.
Thanks, any feedback greatly appreciated!
Community feedback
- @ChamuMutezvaPosted about 3 years ago
Greetings Syafiqjos
- here is what the instruction says
To do this challenge, you need a basic understanding of HTML, CSS and JavaScript.
You need some javascript for opening and closing the navigation <a id="header-toggle" href="javascript:undefined" class="header__toggle"><i class="fas fa-bars"></i></a>
, this should be a button(opening and closing the modal) - an anchor should be used to navigate to other sections of the page<a href="#" style="--hover-color: var(--primary-color-2);" class="article__link">Learn more</a>
, let your styling be in the css. Separation of concerns is important for cleaner and easy to debug code.
Marked as helpful1@SyafiqjosPosted about 3 years ago@ChamuMutezva
Hi Chamu, thank you for your feedback.
Hmm.. I think I misread some of the instruction xD.
You're right, at the first time I use anchor tag
a
so if the user press tab key on keyboard, the focus can be changing from one another. But href can't be empty so I usejavascript:undefined
. I tried to use button but suddenly it turns really ugly so I decided using anchor tag.Actually I want to use
attr()
but it doesn't work well so I tried to use css property like that--hover-color
. But now you mention it, I just realized that styling in css would be better and clean.Thank you for the feedback! I'll learn to improve myself.
0 - here is what the instruction says
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