Spaces:
Running
Running
Download signup.html from RISEFinalYear/RISE: direct link, hf CLI and curl.
- Browser
- Download file 2.68 kB
-
https://huggingface.co/spaces/RISEFinalYear/RISE/resolve/main/signup.html
- Command line
-
hf download hf://spaces/RISEFinalYear/RISE/signup.html
-
curl -L -o signup.html https://huggingface.co/spaces/RISEFinalYear/RISE/resolve/main/signup.html
2.68 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Create Account - RISE</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <div class="signup-container"> | |
| <div class="signup-box"> | |
| <div class="logo"> | |
| RISE | |
| </div> | |
| <h1>Create your account</h1> | |
| <p class="signup-subtitle"> | |
| Start your journey toward better communication. | |
| </p> | |
| <form onsubmit="goToAssessment(event)"> | |
| <label>Full Name</label> | |
| <input id="signup-name" type="text" placeholder="Enter your full name" required> | |
| <label>Email Address</label> | |
| <input id="signup-email" type="email" placeholder="Enter your email" required> | |
| <label>Password</label> | |
| <input type="password" placeholder="Create a password" minlength="8" required> | |
| <label>Date of Birth</label> | |
| <input type="date" required> | |
| <label>Communication Level</label> | |
| <select required> | |
| <option value="">Select your level</option> | |
| <option value="beginner">Beginner</option> | |
| <option value="intermediate">Intermediate</option> | |
| <option value="confident">Confident</option> | |
| </select> | |
| <button type="submit" class="primary-btn"> | |
| Continue | |
| </button> | |
| </form> | |
| <div class="login-text"> | |
| Already have an account? | |
| <a href="signin.html" class="signin-link">Sign In</a> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| function goToAssessment(event) { | |
| event.preventDefault(); | |
| const email = document.getElementById("signup-email").value.trim().toLowerCase(); | |
| const name = document.getElementById("signup-name").value.trim(); | |
| if (!email) return; | |
| localStorage.setItem("riseActiveUserEmail", email); | |
| const key = "riseUser:" + email; | |
| const existing = JSON.parse(localStorage.getItem(key) || "null"); | |
| localStorage.setItem(key, JSON.stringify({ | |
| ...(existing || {}), | |
| email, | |
| name, | |
| startingLevel: existing?.startingLevel || 1, | |
| unlockedLevel: existing?.unlockedLevel || 1, | |
| attempts: existing?.attempts || [], | |
| sessionsCompleted: existing?.sessionsCompleted || 0, | |
| averageScore: existing?.averageScore || 0 | |
| })); | |
| window.location.href = "assessment.html"; | |
| } | |
| </script> | |
| </body> | |
| </html> |