Fjsv

Developer
Size
2,645 Kb
Views
40,480

How do I make an fjsv?

What is a fjsv? How do you make a fjsv? This script and codes were developed by Pablo Ai on 03 October 2022, Monday.

Fjsv Previews

Fjsv - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>fjsv</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <form onsubmit="return validate.validateForm(this);"> <legend>Register</legend> <input type="text" name="firstname" placeholder="First Name" /> <input type="text" name="lastname" placeholder="Last Name" /> <input type="email" name="email" placeholder="Email" /> <input type="password" name="password" placeholder="Password" /> <input type="password" name="repeatPassword" placeholder="Repeat Password" /> <div id="error"></div> <button value="Submit">Register</button>
</form> <script src="js/index.js"></script>
</body>
</html>

Fjsv - Script Codes CSS Codes

body { background: #eaeaea; padding-top: 20px;
}
form { background: #fff; font-family: sans-serif; margin: auto; max-width: 300px; padding: 20px 30px;
}
input { border: 1px solid #eaeaea; box-sizing: border-box; display: block; margin: 10px 0; padding: 10px; width: 100%;
}
input.has-error { border-color: salmon;
}
#error { color: salmon; font-size: 14px; margin: 10px 0;
}
button { background: dodgerblue; border: 0; border-radius: 2px; color: #fff; padding: 14px 18px; transition: all .25s;
}
button:hover { background: #006ad1; cursor: pointer;
}

Fjsv - Script Codes JS Codes

"use strict";
var validate = { validateForm: function(form) { var error = document.getElementById('error'); if (!form.firstname.value) { this.fieldRequired(form.firstname); return false; } if (!form.lastname.value) { this.fieldRequired(form.lastname); } if (!form.email.value) { this.fieldRequired(form.email); } if (!form.password.value) { this.fieldRequired(form.password); } if (!form.repeatPassword.value) { this.fieldRequired(form.repeatPassword); } }, fieldRequired: function(input) { input.className = 'has-error'; input.focus(); error.innerHTML = 'This field is required'; return false; }
}
document .getElementsByTagName('input')[0] .addEventListener('change', function() { input.className = '';
});
Fjsv - Script Codes
Fjsv - Script Codes
Home Page Home
Developer Pablo Ai
Username Pablo-Ai
Uploaded October 03, 2022
Rating 3
Size 2,645 Kb
Views 40,480
Do you need developer help for Fjsv?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Pablo Ai (Pablo-Ai) Script Codes
Create amazing love letters with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!