firebase signup with email and password with displayName code example
Example: firebase sign up with email and password
firebase.auth().createUserWithEmailAndPassword(email, password).catch(function(error) { // Handle Errors here. var errorCode = error.code; var errorMessage = error.message; // ...});email-password.html