Verification $15 Script For Blogger

Verification $15 Script For Blogger





<!DOCTYPE html>


<html>
<head>
<title>Kindly Verify Email</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
text-align: center;
}


.container {
background-color: #fff;
border-radius: 10px;
padding: 20px;
width: 300px;
margin: 0 auto;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


h1 {
color: #333;
}


form {
display: flex;
flex-direction: column;
align-items: center;
}


label {
font-weight: bold;
margin-bottom: 10px;
}


input[type="email"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 10px;
}


button {
background-color: #007BFF;
color: #fff;
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.3s;
}


button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<h1>Verification email</h1>
<form id="emailForm">
<label for="email">Email Address:</label>
<input type="email" id="email" name="email" required>
<button type="button" id="sendCodeButton">Submit</button>
</form>
</div>


<script>
// Function to open the new website when the button is clicked
document.getElementById("sendCodeButton").addEventListener("click", function() {
// Get the email address entered by the user
var email = document.getElementById("email").value;


// Validate the email address (you can add more robust validation)
if (validateEmail(email)) {
// Replace 'https://www.youtube.com/@zstricksclicks' with the URL of the website you want to open
window.open('https://www.youtube.com/@zstricksclicks', '_blank');
} else {
alert("Please enter a valid email address.");
}
});


// Email validation function (basic validation)
function validateEmail(email) {
var emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
return emailPattern.test(email);
}
</script>
</body>
</html>

Post a Comment

Previous Post Next Post