<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>
FORM
</title>
<!--add scripts-->
<script src="https://www.gstatic.com/firebasejs/8.9.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.9.0/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.9.0/firebase-auth.js"></script>
<script src="form.js"></script>
</head>
<body>
<h1>WELCOME</h1>
<div id="frmcontainer">
<div id="head"></div>
<input type="email" placeholder="Email" id="email">
<input type="password" placeholder="Password" id="password">
<button onclick="signUp()" id="signup">Sign Up</button>
<button onclick="signIn()" id="signin">Sign In</button>
<button onclick="signOut()" id="signout">Sign Out</button>
</div>
</body>
<style>
body{
background:darkslategrey;
}
h1{
color: #ff4d4d;
margin: 100px auto;
text-align: center;
color: #fff;
}
#frmcontainer
{
background-color:#fff;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
width: 25%;
height: 50%;
margin: 10px auto;
border-radius: 10px;
}
#head{
background-color:firebrick;
width: 100%;
height: 10px;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
}
#email,#password
{
width: 70%;
height: 40px;
display: block;
border: none;
outline: none;
border-bottom: 2px solid black;
margin-left: 5px;
}
#signup
{
background-color:#fffa65;
color: #000;
font-weight: bold;
padding: 10px 25px;
border-radius: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 13px;
margin-top: 10px;
margin-left: 2px;
border: none;
}
#signin
{
background-color: #32ff7e;
color: #000;
font-weight: bold;
padding: 10px 25px;
border-radius: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 13px;
margin-top: 10px;
margin-left: 2px;
border: none;
}
#signout
{
background-color: #ff4d4d;
color: #000;
font-weight: bold;
padding: 10px 25px;
border-radius: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 13px;
border: none;
margin-top: 10px;
margin-left: 2px;
margin-bottom: 5px;
}
</style>
</html>
Comments
Post a Comment