Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI #8

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

UI #8

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Number Gusser
Number Guesser

Contributed by Aakarsh Vatsraj

Expand All @@ -12,7 +12,8 @@ The technologies used in this project are HTML,CSS and JavaScript.

KNOWN ISSUES:

There is an error when the number you are serching is found.Rectify it
There is an error when the number you are searching is found.Rectify it
The page needs a better UI.
You can contact me at [email protected]...
Or on the discord server.

Binary file added bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
<title>Number Guesser</title>
</head>
<body>
<div class="box"></div>
<div id="container">
<div class="text">
<p>Guess a number between 1-100.</p>
<p id="outputtext">Enter a number below.</p>
<input type="text" id="userinput"><button id="btn">Enter</button>
</div>

</div>
<script src="main.js"></script>
</body>
</html>
</html>
35 changes: 29 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,42 @@
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
body
{
background-color: #2b323c;
background-image: url("bg.jpg");
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.box {
position: relative;
padding-top:90px;
font-family: 'Quicksand', sans-serif;
filter: blur(8px);
-webkit-filter: blur(8px);
}
#container
{
background-color:aqua ;
border: 5px solid #F5E4C3;
height: 275px;
width: 750px;
width: 550px;
margin: auto;
text-align: center;
position: absolute;
right:25%;
left:25%;
z-index:-1;
background-color: rgba(0,0,0, 0.6);
border: 1px solid #f1f1f1;

}
.text {
color: white;
font-weight: 400;
z-index:10;
}
p
{
font-size: 24px;
font-size: 34px;
color: aliceblue;
}
#input
{
Expand All @@ -23,4 +46,4 @@ p
#btn
{
margin: 25px auto auto 5px;
}
}