Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
soymadip authored Jun 11, 2024
1 parent 540a30f commit 25571e4
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions Gg.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html>
<head>
<title>Form</title>
<style>
.form {
border: blue 3px solid;
border-radius: 10px;
margin: 50% 2px 30% 2px;
padding: 7px;
padding-left: 12px;
background-color: aqua;
}

input {
border: white 1px solid;
border-radius: 7px;
}

.submit {
border: 0px;
border-radius: 5px;
background-color: blue;
color: white;
margin: 10px auto;
padding: 5px;
}
</style>
<script>
function showAlert(event) {
event.preventDefault();
alert("Form submitted!\nYou will be redirected to My GitHub");
window.location.href = "https://github.com/soymadip";
}
</script>
</head>
<body>
<div class="form">
<h2 align="center">Registration</h2>
<form onsubmit="showAlert(event)">
<p>First Name: <input type="text"></p>
<p>Last Name: <input type="text"></p>
<p> Gender:
<input type="radio" name="gender" value="Male">Male
<input type="radio" name="gender" value="Female">Female
</p>
<p>Employee ID: <input type="text"></p>
<p>Designation: <input type="text"></p>
<p>Phone Number: <input type="number"></p>
<button type="submit" class="submit">Submit Now</button>
</form>
</div>
</body>
</html>

0 comments on commit 25571e4

Please sign in to comment.