I'm building an E-commerce website, in this process, I'm facing a problem that how to send users input data from javascript to the backend.
For the backend, I'm using node.js (express).
if I get the solution for this problem, then I can store the data in the database
.mb-3
label.form-label(for='username') User name
input#username.form-control(type='text' aria-describedby='emailHelp')
.mb-3
label.form-label(for='Email') Email
input#email.form-control(type='Email')
.mb-3
label.form-label(for='mobilenumber') Enter number
input#mobilenumber.form-control(type='number')
.mb-3
label.form-label(for='password') Enter New Password
input#password.form-control(type='password')
.mb-3
label.form-label(for='confirmpassword') Confirm Password
input#confirmpassword.form-control(type='password')
.form-check.login-checkbox-container
input.bg-danger.border-danger#t-and-c-checkbox.form-check-input(type='checkbox' checked)
label.form-check-label.m-0(for='exampleCheck1') Agree To Our
a.text-danger Terms And Conditions
.form-check.login-checkbox-container
input.border-danger.form-check-input#upcoming-notification(type='checkbox')
label.form-check-label.m-0(for='exampleCheck1') recieve upcomimg offers and events mails
button.btn.btn-success#new-user-submit-btn(type='button') Submit
button.btn.btn-outline-primary#signups-login-btn(type='button') Login
Any solution for this problem