Q: Create a Button and it should only submit if the user credentials are right.
Sigiloso
Now this was a frontend question so i created the button and used onSubmit function in it but due to time constraints and anxiety I forgot to create the function to check the credentials and redirect further.