Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
4
Comments
1
Nicholas Duadei Nicholas
@DevNickJr

All comments

  • Alfar•120
    @kctoey
    Submitted over 3 years ago

    into component with sign up

    2
    Nicholas Duadei Nicholas•50
    @DevNickJr
    Posted over 3 years ago

    Concerning your button not working

    • First off, check out your errorFunc,
    1. const span should be equal to document.querySelector and not formControl.queryseletor

    2. Give id to each span in your html. Select and Use the querySelector with the id, instead of the span element.

    • Checkout your script.js file: In your submit event handler function, you used the preventDefault function which stops the default behavior of an element. in this case, it stops the form from submitting.
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