CODE:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Professional Job Submission Form</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
form {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 100%;
}
h1 {
text-align: center;
color: #333;
}
h2 {
text-align: center;
color: #007BFF;
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
color: #555;
}
input {
width: 100%;
padding: 8px;
margin-bottom: 16px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
background-color: #007BFF;
color: #fff;
padding: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 100%;
}
</style>
</head>
<body>
<form id="jobForm">
<h2>Earn $1000 per Month</h2>
<h1>Job Application Form</h1>
<label for="fullName">Full Name:</label>
<input type="text" id="fullName" name="fullName" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="phoneNumber">Phone Number:</label>
<input type="tel" id="phoneNumber" name="phoneNumber" required>
<button type="button" onclick="submitForm()">Submit</button>
</form>
<script>
function submitForm() {
var fullName = document.getElementById("fullName").value;
var email = document.getElementById("email").value;
var phoneNumber = document.getElementById("phoneNumber").value;
var redirectLink = "Direct Link";
var queryParams = "?fullName=" + encodeURIComponent(fullName) +
"&email=" + encodeURIComponent(email) +
"&phoneNumber=" + encodeURIComponent(phoneNumber);
window.location.href = redirectLink + queryParams;
}
</script>
</body>
</html>