Reg PHP
Reg PHP
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration</title>
<link rel="stylesheet" href="reg.css?v=1731765167">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<div class="registration-container box">
<h2>Sign Up</h2>
<p class="referral-info">Referred by: Tayyab Lucky</p>
togglePassword.addEventListener('click', function() {
// Toggle the type attribute
const type = password.getAttribute('type') === 'password' ? 'text' :
'password';
password.setAttribute('type', type);
toggleConfirmPassword.addEventListener('click', function() {
// Toggle the type attribute
const type = confirmPassword.getAttribute('type') === 'password' ? 'text' :
'password';
confirmPassword.setAttribute('type', type);
</html>