Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
4
Comments
1

Andrew Kohn

@AndrewKohn90 points

Aspiring web developer looking to put in hard work!

Latest solutions

  • IP Address Tracker


    Andrew Kohn•90
    Submitted over 3 years ago

    0 comments
  • Loopstudios landing page


    Andrew Kohn•90
    Submitted over 3 years ago

    0 comments
  • Pricing component with toggle


    Andrew Kohn•90
    Submitted over 3 years ago

    0 comments
  • Advice generator app


    Andrew Kohn•90
    Submitted over 3 years ago

    0 comments

Latest comments

  • Michael Godfrey•340
    @michagodfrey
    Submitted over 3 years ago

    Advice Generator using an API and fetch

    #fetch
    2
    Andrew Kohn•90
    @AndrewKohn
    Posted over 3 years ago

    Looks great!

    My suggestion for your question is to try to add an addEventListener() to your button in javascript and remove the onclick on the html, since I believe that was what is making the page refresh. After that, you can set your fetch method into a const variable and use that in the event listener or cut/paste the fetch method directly into the event listener.

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