WEBLEB
Home
Editor
Login
Pro
English
English
Français
Español
Português
Deutsch
Italiano
हिंदी
HTML Signup Form with Email and Password
81
nazairerichard6
Open In Editor
Publish Your Code
Recommended
14 June 2024
Fireworks with mouse
22 June 2025
Admin Dashboard HTML Template
14 June 2024
social media icon with hover
HTML
Copy
Connexion
Connexion membre
SIGNUP
Are you a member?
Login now
Please you'll be charge for Agent portal
CSS
Copy
@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap"); * { margin: 0; padding: 0; font-family: "Poppins", sans-serif; } body { display: flex; height: 100vh; text-align: center; align-items: center; justify-content: center; } .login-form { position: relative; width: 370px; height: auto; background: #1b1b1b; padding: 40px 35px 60px; box-sizing: border-box; border: 1px solid black; border-radius: 5px; box-shadow: inset 0 0 1px #272727; } .text { font-size: 30px; color: #c7c7c7; font-weight: 600; letter-spacing: 2px; } form { margin-top: 40px; } form .field { margin-top: 20px; display: flex; } .field .fas { height: 50px; width: 60px; color: #868686; font-size: 20px; line-height: 50px; border: 1px solid #444; border-right: none; border-radius: 5px 0 0 5px; background: linear-gradient(#333, #222); } .field input, form button { height: 50px; width: 100%; outline: none; font-size: 19px; color: #868686; padding: 0 15px; border-radius: 0 5px 5px 0; border: 1px solid #444; caret-color: #339933; background: linear-gradient(#333, #222); } input:focus { color: #339933; box-shadow: 0 0 5px rgba(0, 255, 0, 0.2), inset 0 0 5px rgba(0, 255, 0, 0.1); background: linear-gradient(#333933, #222922); animation: glow 0.8s ease-out infinite alternate; } @keyframes glow { 0% { border-color: #339933; box-shadow: 0 0 5px rgba(0, 255, 0, 0.2), inset 0 0 5px rgba(0, 0, 0, 0.1); } 100% { border-color: #6f6; box-shadow: 0 0 20px rgba(0, 255, 0, 0.6), inset 0 0 10px rgba(0, 255, 0, 0.4); } } button { margin-top: 30px; border-radius: 5px !important; font-weight: 600; letter-spacing: 1px; cursor: pointer; } button:hover { color: #339933; border: 1px solid #339933; box-shadow: 0 0 5px rgba(0, 255, 0, 0.3), 0 0 10px rgba(0, 255, 0, 0.2), 0 0 15px rgba(0, 255, 0, 0.1), 0 2px 0 black; } .link { margin-top: 25px; color: #868686; } .link a { color: #339933; text-decoration: none; } .link a:hover { text-decoration: underline; }
JS
Copy
document.getElementById('signupForm').addEventListener('submit', function(event) { event.preventDefault(); // Prevent the default form submission var form = event.target; var formData = new FormData(form); // Send form data to SheetMonkey fetch('', { method: "POST", body: formData }).then(function(response) { if (response.ok) { // Redirect to the specified URL after submission window.location.href = "https://paystack.com/pay/agentlink"; } else { alert("There was an error with your submission."); } }).catch(function(error) { console.error("Error:", error); alert("There was an error with your submission."); }); });