Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
5
Comments
2

Andrés Forero

@AndresFelipeForeroColombia150 points

I’m a mysterious individual who has yet to fill out my bio. One thing’s for certain: I love writing front-end code!

Latest solutions

  • rest-countries Angular17, interceptors, errors handle, leazy loading

    #angular#bem#rxjs#sass/scss

    Andrés Forero•150
    Submitted over 1 year ago

    I have a couple of errors in the console. One is due to change detections and the other is due to an undefined error when rendering the flag image on the inner page. If anyone can help me, it would be great.


    0 comments
  • ecommerce-product-page-main with scss, angular17, store

    #angular#bem#sass/scss#typescript#rxjs

    Andrés Forero•150
    Submitted over 1 year ago

    I can receive any advice that can help me.


    0 comments
  • TodoAppMain with angular 17, cdk angular material, persistence, scss

    #angular#sass/scss#typescript

    Andrés Forero•150
    Submitted over 1 year ago

    I would also like someone to help me with an issue I'm having on mobile devices. The Android button appears as "Next" and I need it to always be "Go".


    1 comment
  • social-proof-section-master Grid and flexbox


    Andrés Forero•150
    Submitted over 1 year ago

    0 comments
  • Responsive home-page using HTML, CSS, Javascript

    #bem#firebase

    Andrés Forero•150
    Submitted over 2 years ago

    2 comments

Latest comments

  • Steven Croft•170
    @scroft001
    Submitted over 2 years ago

    Responsive News landing page

    3
    Andrés Forero•150
    @AndresFelipeForero
    Posted over 2 years ago

    Hi steve, how are you?

    In this project you can try whith around 800px as media-queryx. In this way the page breaks a little less.

    Good luck 👍

  • Adriano•42,890
    @AdrianoEscarabote
    Submitted over 2 years ago

    News homepage w/ (HTML + SASS + Bootstrap + JS Dark/Light Mode) 👨‍💻

    #accessibility#bootstrap#sass/scss
    8
    Andrés Forero•150
    @AndresFelipeForero
    Posted over 2 years ago

    Hi,

    about your question, you can use a dataAttribute, then you can use foreach and finally add the class you need.

    example:

    HTML

      <body   data-dark ></body>
      <main   data-dark ></main>      
    

    Javscript

      $darkElements = document.querySelectorAll([data-dark])
      $darkElements.forEach(el => el.classList.toggle("night"))
    

    CSS

      .night {
          styles
      }
    

    that would be the summary, remember you have to use an event.

    Marked as helpful
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

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

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

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

Oops! 😬

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

Log in with GitHub