function processSignUp(event) {
    event.preventDefault();

    givenFirstName = signupFirstName.value;
    givenLastName = signupLastName.value;
    givenEmail = signupEmail.value;
    givenPassword = signupPassword.value;

    addUser(givenFirstName, givenLastName, givenEmail, givenPassword);

    $('#staticBackdrop').modal('hide');
    $('#staticBackdrop').data(null);
    alert('Você foi cadastrado com sucesso :)');
}
// Process the signup form inputs and sends user's data to localStorage
Process the signup form inputs and sends user's data to localStorage
Process the signup form inputs and sends user ' s data to localStorage
function processSignUp(event) {
    event.preventDefault();
    givenFirstName = signupFirstName.value;
    givenLastName = signupLastName.value;
    givenEmail = signupEmail.value;
    givenPassword = signupPassword.value;
    addUser(givenFirstName, givenLastName, givenEmail, givenPassword);
    $('#staticBackdrop').modal('hide');
    $('#staticBackdrop').data(null);
    alert('Você foi cadastrado com sucesso :)');
}
function processSignUp ( event ) { event . preventDefault ( ) ; givenFirstName = signupFirstName . value ; givenLastName = signupLastName . value ; givenEmail = signupEmail . value ; givenPassword = signupPassword . value ; addUser ( givenFirstName , givenLastName , givenEmail , givenPassword ) ; $ ( '#staticBackdrop' ) . modal ( 'hide' ) ; $ ( '#staticBackdrop' ) . data ( null ) ; alert ( 'Você foi cadastrado com sucesso :)') ; }
Process the signup form inputs and sends user's data to localStorage
Process the signup form inputs and sends user ' s data to localStorage