-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (121 loc) · 3.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
display: flex;
justify-content: center;
align-items: center;
}
.container{
color: rgb(185, 185, 67);
text-decoration: underline;
font-family: 'Times New Roman', Times, serif;
text-shadow: 10px;
border-radius: 10px;
}
.most{
text-decoration: none;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
box-shadow: 0px 7px 7px rgb(177, 211, 27);
border-radius: 10px;
}
.lop{
height: 30px;
width: 80px;
border-radius: 10px;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);
border: none;
position: relative;
top: -70px;
box-shadow: 0px 7px 7px rgb(177, 211, 27);;
}
.lop:hover{
background-color: yellow;
}
.loss{
height: 30px;
width: 80px;
border-radius: 10px;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);
box-shadow: 0px 7px 7px rgb(177, 211, 27);;
border: none;
position: relative;
top: -100px;
margin-left: 100px;
}
.loss:hover{
background-color: yellow;
}
.none{
width: 100px;
height: 100px;
position: relative;
top: -230px;
margin-left: -40px;
}
</style>
</head>
<body>
<div>
<img class="none" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRsDcwXQ2w9u4FMlEf_MMgtV0UGOblUKItSPQ&s" alt="">
</div>
<div class="container">
<h1>Login Page</h1>
<div class="more">
<label class="most" for="fname">First Name: <br><input type="text" required name="" id="fname" placeholder="Enter Your First Name"></label><br>
<br>
<label class="most" for="fname">Last Name: <br><input type="text" required name="" id="fname" placeholder="Enter Your Last Name"></label><br>
<br>
<label class="most" for="fname">Email Adress: <br><input type="text" required name="" id="fname" placeholder="Enter Your Email Adress"></label><br>
<br>
<label class="most" for="fname">Password required:<br><input type="password" placeholder="Enter Your password">
<br>
<br>
<label class="most" for="fname">Phone Number:<br><input type="password" placeholder="Enter Your password">
<br>
<br>
<label class="most" for="fname">Location:<br><input type="location" placeholder="Enter Your Location"><label for="Location"></label>
<select name="Location" id="Location"></select>
<option value="karachi"></option>
<option value="lahore"></option>
<option value="islamabad"></option>
<option value="multan"></option>
</label>
<div >
<button class="lop" >Sign up</button>
<div >
<button class="loss">Login</button>
</div>
</div>
</div>
<script>
// question 1
let username;
// question 2
let myName = "affan siddiqui..";
// question 3
let message = "Hello World";
alert(message);
// question 4
alert("write your name");
alert("your age");
// question 5
let pizza = "Email write in the foam";
alert(pizza)
// question 6
let email = "affansiddiqui42501@gmail.com";
alert("My email address is "+email)
// question 7
let book = "A smarter way to learn JavaScript.";
alert("I am trying to learn JS from the Book "+book)
</script>
</body>
</html>