This commit is contained in:
Firepup Sixfifty 2025-03-01 15:54:43 -06:00
parent 461365451f
commit 4cfe47ca16
No known key found for this signature in database
3 changed files with 36 additions and 5 deletions

View file

@ -1,9 +1,39 @@
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<title>Scrapyard signup</title> <title>Scrapyard Signup</title>
<link rel="stylesheet" href="/styles.css"/> <link rel="stylesheet" href="/styles.css"/>
<script src="/script.js"/>
</head> </head>
<body> <body>
<p>test</p> <div class="login-container">
<h1>Please Signup for Scrapyard!</h1>
<form id="annoying-form">
<label for="username">Username:</label><input id="password" name="password" type="password"/><br/>
<label for="email">Email:</label><input id="email" name="email" type="email"/><br/>
<label for="password">Password:</label><input id="username" name="username" type="username"/><br/>
<button id="submit" type="submit">Submit</button>
</form>
<script>
function click() {
let password = document.getElementById("password"), username=document.getElementById("username"), email=document.getElementById("email");
if (!password.value) {
alert("Password cannot be empty")
return false;
}
if (!email.value.includes("@")) {
alert("Email address is invalid")
}
password.value = "";
console.log(email);
email.type="username";
email.name="username";
email.id="username";
username.type="email";
username.name="email";
username.id="email";
console.log(email);
return false;
}
document.getElementById("annoying-form").onsubmit = click
</script>
</div>
</body> </body>

1
readme.md Normal file
View file

@ -0,0 +1 @@
a login page with a captcha where every element and aspect is as annoying as hell. Ex: when you click to username, it turns into the password field and when you click out it turn back into username field keeping content.

View file

@ -1,5 +1,5 @@
* { * {
background-color: #000000; background-color: #000000;
color: #00ff00; color: #9400d3;
font: monospace font-family: Georiga, monospace;
} }