-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (78 loc) · 2.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<title>Guess the Number</title>
<script src="https://guessthenumber-e.herokuapp.com/socket.io/socket.io.js"></script>
<style>
body {
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
}
.label {
border-radius: 0px 5px 5px 0px;
background: rgb(2,0,36);
background : linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(8,113,195,1) 15%, rgba(0,212,255,1) 100%) ;
width: 110px;
padding-left: 13%;
text-transform: capitalize;
font-family: "Arial", Helvatica, sans-serif;
font-size: 90%;
}
.div-buttons{
padding-left: 15%;
}
.button {
text-transform: capitalize;
background-color: #00d4ff;
margin-top:5px;
border-width: 0px 0px 0px 2px;
margin-bottom: 5px;
border-color: darkblue;
border-style: solid;
}
.input{
background-color: #00000000;
border-style: double;
border-color: blue;
border-width: 0px 0px 0px 5px;
padding-left: 5px;
text-transform: capitalize;
width: 85px;
margin-left: 15px ;
}
.div1{
margin-left: auto;
margin-right: auto;
margin-top: 17%;
border-style: double;
border-color: black 99% ;
width: 320px ;
background: rgb(2,0,36);
background : linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(8,113,195,1) 15%, rgba(0,212,255,1) 100%) ;
}
</style>
</head>
<body>
<div class="div1" id="div1">
<p id="money" class="label" style="display : none">money : 10</p>
<p id="main" class="label"> welcome the guess the number game
<br> i will hold a number between 1,2,3 and you try guess it
<br> if you guess you will win 3 times of your bet </p>
<input class="input" id="input" type="text" style="display : none" value="input here">
<div class="div-buttons">
<button id="button1" class="button" onclick="button = 1; buttonclick(); " >start</button>
<button id="button2" class="button" onclick="button = 2; buttonclick(); " style= "display : none">2</button>
<button id="button3" class="button" onclick="button = 3; buttonclick(); " style= "display : none">3</button>
<br>
</div>
</div>
<script src="text.js">
</script>
</body>
</html>