<!DOCTYPE html>
<html>
<head>
<title>Blogger Login Panel</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>Blogger Login Panel</h1>
<div class="login-container">
<center><img src="https://www.pngall.com/wp-content/uploads/5/Profile-Avatar-PNG.png" width="150px"> </center>
<input type="text" id="username" placeholder="Username">
<input type="password" id="password" placeholder="Password">
<button id="loginButton">Log In</button>
</div>
<script src="script.js"></script>
</body>
</html>
<style>
body {
font-family: Arial, sans-serif;
background: linear-gradient(to right, #0ae2ff, #dbeb00);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
h1 {
text-align: center;
}
.login-container {
max-width: 300px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border: 2px solid #000;
border-radius: 5px;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 10px;
}
button {
width: 100%;
padding: 10px;
background-color: #2196F3;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #0c7cd5;
}
</style>
<script>
var loginButton = document.getElementById('loginButton');
loginButton.addEventListener('click', function() {
var username = document.getElementById('username').value;
var password = document.getElementById('password').value;
// Replace "your-blogger-site-url" with your actual Blogger site URL
var bloggerUrl = "https://priyanshuomsd.blogspot.com";
// Check if the username and password match your criteria for a successful login
if (username === "admin" && password === "password") {
// Redirect to the Blogger site
window.location.href = bloggerUrl;
} else {
alert("Invalid username or password. Please try again.");
}
});
</script>
Contact Us!
0 Comments
type your comment...