Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Responsive Menu using Checkbox without JS | Loopstudios Landing Page

Nurcholis•420
@cholis04
A solution to the Loopstudios landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I'm trying to create a menu on this landing page using CSS without Javascript. Of course, there are limitations in manipulating elements.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Emad Jaber•130
    @emad2411
    Posted over 3 years ago

    Great solution

    as I can see you have two accessibility issues.

    • your footer should be contained in a <footer> tag
    • your main content should be contained in a <main> tag

    other than that I can see everything is perfect , great coding.

  • princekelvx•120
    @princekelvx
    Posted over 3 years ago

    Very interesting to actually see it being done without JavaScript, I have seen it been done before and I was going to use the approach before I ultimately decided to use JavaScript and avoid tweaking the flow of my HTML document. Checkbox under the hamburger menu I suppose? Checking the state to determine what styles should be applied?

Join 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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub