Skip to content

Commit

Permalink
Merge pull request #156 from Harsh-jot/main
Browse files Browse the repository at this point in the history
Added a One-button and a Fun Game
  • Loading branch information
aman-raza authored Oct 6, 2021
2 parents 2ffca9b + 885fd57 commit 0cb836a
Show file tree
Hide file tree
Showing 7 changed files with 297 additions and 0 deletions.
Binary file added Insta-clone/AppStore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Insta-clone/Facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Insta-clone/GooglePlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Insta-clone/Instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions Insta-clone/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Instagram Login Page</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>

<div class="wrapper">
<div class="header">
<div class="top">
<div class="logo">
<img src="Instagram.png" alt="Instagram" style="width: 175px;">
</div>
<div class="form">
<div class="input_field">
<form action="http://www.google.com" method="Post">

<input type="text" placeholder="Phone number, username, or email" class="input" name="username">
</div>
<div class="input_field">
<input type="password" placeholder="Password" class="input" name="password">

</div>
<div class="btn"><a href="http://www.google.com" type="submit">Log In</a></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="Facebook.png" alt="Facebook">
<p>Login via Facebook</p>
</div>

<div class="forgot">
<a href="https://www.google.com">Forgot password?</a>
</div>
</div>
</div>
<div class="signup">
<p>Don't have an account? <a href="https://www.google.com">Sign up</a></p>
</div>
<div class="apps">
<p>Get the App</p>
<div class="icons">
<a href="https://www.google.com"><img src="AppStore.png" alt="AppStore"></a>
<a href="https://www.google.com"><img src="GooglePlay.png" alt="GooglePlay"></a>
</div>
</div>
</div>
<div class="footer">
<div class="links">
<ul>
<li><a href="https://www.google.com">ABOUT US</a></li>
<li><a href="https://www.google.com">SUPPORT</a></li>
<li><a href="#">PRESS</a></li>
<li><a href="#">API</a></li>
<li><a href="#">JOBS</a></li>
<li><a href="#">PRIVACY</a></li>
<li><a href="#">TERMS</a></li>
<li><a href="#">DIRECTORY</a></li>
<li><a href="https://www.google.com">PROFILES</a></li>
<li><a href="https://www.google.com">HASHTAGS</a></li>
<li><a href="#">LANGUAGE</a></li>
</ul>
</div>
<div class="copyright">
© 2021 INSTAGRAM
</div>
</div>
</div>

</body>
</html>
163 changes: 163 additions & 0 deletions Insta-clone/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
@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;
}

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: 20px;
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: #999;
}
56 changes: 56 additions & 0 deletions one-button-game.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>

<script>
const colors = ["yellow", "red", "blue", "green", "purple", "orange", "grey", "cyan", "teal"];

function changeColor()
{

const color = colors[parseInt(Math.random()*3)];
document.getElementById('sak').innerHTML = color;
document.body.style.background = color
document.getElementById('bak').style.background = color;




}



</script>

<style>
.A{
display: flex;
position: relative;
justify-content: center;
}
button{

height: 50px;
width: 100px;
background-color: pink;
margin-top: 50px;
}

#sak {
text-align: center;
}
</style>

</head>
<body>
<div class="A">
<button id="bak" onclick="changeColor()">Click Me! </button>

</div>
<h1 id="sak"></h1>

</body>
</html>

0 comments on commit 0cb836a

Please sign in to comment.