Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

👨‍💻 Intro section w/ dropdown w/ (HTML + SASS + JS Dark/Light Mode)

accessibility, bootstrap, sass/scss
Adriano•42,870
@AdrianoEscarabote
A solution to the Intro section with dropdown navigation challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


👨‍💻 Hello everyone.

DAY 7/7 🎉🎊

Finally the end ahuauha, I can't describe how productive this week was, I learned a lot of new things and managed to practice a lot! Within what I learned the two most important things are:

  • Bootstrap
  • SASS

Plus my javascript skills have improved a lot!

Anyway, I leave a tip for those who want to improve, whether with a developer or anything else, persist! Resist the challenges that the world will put in your life, and most importantly learn from them, I guarantee you that at the end of the day all the effort will be worth it.

After this week I feel like I can learn anything, after all, it only depends on me!

I added some details:

  • 👨‍💻 Custom menu bugger!
  • 🎨 Custom colors and hover!
  • 👨‍🎨 Dark/Light Mode!

Feel free to leave comments on how I can improve my code.

Thanks! 😊

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Lucas 👾•104,160
    @correlucas
    Posted over 2 years ago

    Congratulations bro, you’re an inspiration and you did great doing 7 projects on 7 days, this is insane, considering the projects are advanced and with JS. The design is amazing and I liked a lots that you placed the dark mode in the burger menu. Congrats for the 7/7 and the motivation. 😎

    Marked as helpful
  • Rodrigo Pires•410
    @rodrigompires
    Posted over 2 years ago

    Hello Adriano.
    Nice work, but I think there is a small detail in the mobile version in the theme change icons.
    On the first click, the rotation animation occurs, but on the second click, the animation no longer occurs.
    I don't know if it's on purpose, but it only comes back when clicking outside the menu.
    Hugs and nice work.

  • Asha•1,210
    @livinglifemeaning
    Posted over 2 years ago

    Congratulations Adriano for finishing your challenge! What's going to be your next one? Only tip is to use align-items property and change it's default from stretch so those brand icons don't look ugly on desktop. Also, can I ask how you implement different color schemes? I took a look through your code but couldn't tell how, and it's something I'm trying to learn.

  • MX•290
    @xingxing-prog
    Posted over 2 years ago

    The dark theme and day theme are so cool. You are so productive this week. Congratulations.

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

How does the accessibility report work?

When a solution is submitted, we use axe-core to run an automated audit of your code.

This picks out common accessibility issues like not using semantic HTML and not having proper heading hierarchies, among others.

This automated audit is fairly surface level, so we encourage to you review the project and code in more detail with accessibility best practices in mind.

How does the CSS report work?

When a solution is submitted, we use stylelint to run an automated check on the CSS code.

We've added some of our own linting rules based on recommended best practices. These rules are prefixed with frontend-mentor/ which you'll see at the top of each issue in the report.

The report will audit all CSS, SCSS and Less files in your repository.

How does the HTML validation report work?

When a solution is submitted, we use html-validate to run an automated check on the HTML code.

The report picks out common HTML issues such as not using headings within section elements and incorrect nesting of elements, among others.

Note that the report can pick up “invalid” attributes, which some frameworks automatically add to the HTML. These attributes are crucial for how the frameworks function, although they’re technically not valid HTML. As such, some projects can show up with many HTML validation errors, which are benign and are a necessary part of the framework.

How does the JavaScript validation report work?

When a solution is submitted, we use eslint to run an automated check on the JavaScript code.

The report picks out common JavaScript issues such as not using semicolons and using var instead of let or const, among others.

The report will audit all JS and JSX files in your repository. We currently do not support Typescript or other frontend frameworks.

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