১৯-১ : রেজিসট্রেশন
const handleRegistration = (event) => {
event.preventDefault();
const username = getValue("username");
const first_name = getValue("first_name");
const last_name = getValue("last_name");
const email = getValue("email");
const password = getValue("password");
const confirm_password = getValue("confirm_password");
const info = {
username,
first_name,
last_name,
email,
password,
confirm_password,
};
console.log({
username,
first_name,
last_name,
email,
password,
confirm_password});
};
const getValue = (id) => {
const value = document.getElementById(id).value;
return value;
};


Previousমডিউল ১৯ঃ হসপিটাল ম্যানেজমেন্ট ফ্রন্ট-এন্ড, পার্ট-৩Next১৯-২ : regex ব্যবহার করে পাসওয়ার্ড ভ্যালিডেশন
Last updated