From 5a115a6b0821ce1e63e1ea7e8819419a9e10ecd4 Mon Sep 17 00:00:00 2001 From: Alwin madhu Date: Tue, 25 Nov 2025 18:02:55 +0530 Subject: [PATCH] Enhance signup form with validation and animations Added error and success status indicators for username, password, and confirm password fields. Implemented animations for form elements and updated form validation. --- signup_page/signup_page.html | 92 +++++++++++++++++++++++++++++++----- 1 file changed, 79 insertions(+), 13 deletions(-) diff --git a/signup_page/signup_page.html b/signup_page/signup_page.html index 5e5aecd..6522189 100644 --- a/signup_page/signup_page.html +++ b/signup_page/signup_page.html @@ -13,6 +13,8 @@ --card-bg: #1b1b1b; --text-dark: #fff; --text-light: #ccc; + --error: #ff4d4d; + --success: #4dff91; } body { @@ -61,7 +63,9 @@ outline: 2px solid var(--primary); } -#username-status { +#username-status, +#password-status, +#confirm-status { font-size: 13px; height: 16px; margin-top: -6px; @@ -97,6 +101,26 @@ .login-link a:hover { text-decoration: underline; } + +/* Additional animations */ +@keyframes fadeInUp { + from { opacity: 0; transform: translateY(20px);} + to { opacity:1; transform: translateY(0);} +} +@keyframes scaleIn { + from { transform: scale(0.9); opacity:0; } + to { transform: scale(1); opacity:1; } +} +.container { + animation: fadeInUp 0.8s ease-out; +} +input, button { + animation: scaleIn 0.4s ease-out; +} +button:hover { + transform: translateY(-3px) scale(1.03); + transition: 0.2s; +} @@ -104,8 +128,7 @@

Create Account

- -
+ @@ -116,6 +139,11 @@

Create Account

+
+ + + +
@@ -123,33 +151,71 @@

Create Account

- +