Creating a custom registration page help

Hello everyone,

I’m very stuck on why my code won’t work. I’ve set up a lightbox, everything is named correctly. Please can someone tell me where I’ve gone wrong in the code below?

import wixUsers from ‘wix-users’;
import wixLocation from ‘wix-location’;

$w.onReady( function () {
$w(‘#submit’).onClick( () => {
let email = $w(‘#registrationemail’).value;
let password = $w(‘#registrationpassword’).value;
let firstName = $w(‘#registrationfirstname’).value;
let lastName = $w(‘#registrationlastname’).value;
let company = $w(‘#registrationcompany’).value;
let office = $w(‘#registrationcompanylocation’).value;

email.push($w('#registrationemail').value); 
password.push($w('#registrationpassword').value); 
firstName.push($w('#registrationfirstname').value); 
lastName.push($w('#registrationlastname').value); 
company.push($w('#registrationcompany').value); 
office.push($w('#registrationcompanylocation').value); 

wixUsers.register($w('#registrationemail').value, $w('#registrationpassword').value, { 

“contactInfo”: {
“firstName”: $w(‘#registrationfirstname’).value,
“lastName”: $w(‘#registrationlastname’).value,
“company”: $w(‘#registrationcompany’).value,
“office location”: $w(‘#registrationcompanylocation’).value
}
});

});
});

Many thanks!