forked from TheShark823/solarsystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
166 lines (141 loc) · 3.61 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<title>Solar System: Document Object Model:30 Days Of JavaScript</title>
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700&display=swap" rel="stylesheet">
<style>
#body{
height: 300px;
background-image: url("images/galaxy.gif");
text-align: center;
background-color: black;
}
.centered {
margin: 0 auto;
text-align: center;
width: 800px;
}
.center {
margin: 0 auto;
/*text-align: left;*/
width: 100%;
}
.flex {
display:flex;
}
.footer{
text-align: center;
background-color:rgb(248, 5, 5) ;
font-size: large;
height: 100px;
font-size: 40px;
margin-left: 10%;
margin-right: 10%;
}
.image{
margin-top: 20px;
margin-bottom: 20px;
}
#print{
margin-top: 25% ;
margin-bottom: 25%;
margin-left: 10%;
margin-right: 10%;
text-align: center;
background-color:rgb(243, 9, 9) ;
font-size: large;
}
#mass{
height: 30px;
width: 300px;
}
.button{
background-color: rgb(247, 7, 7);
height: 50px;
width: 300px;
border: 2px solid rgb(250, 248, 248);
border-radius: 7px;
margin-top: 20px;
}
.mass{
height: 30px;
width: 300px;
}
#masss{
height: 30px;
}
#foot{
font-size: large;
margin-top: 5% ;
margin-bottom: 5%;
margin-left: 10%;
margin-right: 10%;
text-align: center;
background-color:rgb(255, 3, 3) ;
height: 20px;
}
#img{
border-radius: 50%;
border-color: crimson;
}
#loader {
position: absolute;
left: 42%;
border-radius: 50%;
width: 170px;
height: 170px;
animation: spin 2s linear infinite;
border-top: 16px solid blue;
border-right: 16px solid green;
border-bottom: 16px solid red;
border-left: 16px solid pink;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body id="body" class="center">
<div id="divv">
<header id="header">
<h1 style="color: rgb(252, 247, 247); font-size: 40px; font-family:Georgia, 'Times New Roman', Times, serif;">What surprise is waiting for you in 2023 !!! </h1>
<br> <h3 style="color: rgb(252, 247, 247); font-size: 35px;font-family:cursive;"></h3style>Enter your name :
<input type="text" id="name" class="mass" placeholder="Enter you name" /></h3>
<h3 style="color: rgb(252, 247, 247); font-size: 35px;font-family:cursive;">Enter your surname :
<input type="text" id="surname" class="mass" placeholder="Enter you surname" /></h3>
<h3 style="color: rgb(252, 247, 247); font-size: 35px;font-family:cursive;" id="masss">Select your gender :<select id="planets" class="planets">
<option value='none'>--select gender-- </option>
<option value='none'>Male</option>
<option value='none'>Female</option>
<option value='none'>Do not specify</option>
<option value='none'>Others</option>
</select></h3>
<h3 style="color: rgb(252, 247, 247); font-size: 35px;font-family:cursive;" id="masss" class="age">Select age range :<select id="planets" class="planets">
<option value='none'>--select age range-- </option>
<option value='none'>10-15</option>
<option value='none'>15-20</option>
<option value='none'>20-25</option>
<option value='none'>+25</option>
</select></h3>
<a href="#loader">
<button class="button"><h3 style="font-size: 15px;">Play Nowwww!!!!!!!!</h3></button>
</a>
</br>
</br>
</header>
<div id="foot">
<div id="loader"></div>
<div id="last"></div>
</div>
<div>
<div id="image" class="image">
<img id="img" src='./images/friend.jpg' class="planet-image" style="height: 400px ; " width="400px;"/>
</div>
<div id="footer" class="footer">
</div>
</div>
<script src="scripts/main.js"></script>
</div>
</body>
</html>