-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
123 lines (117 loc) · 4.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> -->
<link rel="stylesheet" href="style.css">
<!-- <style>
html, body {
display: flex;
justify-content: center;
font-family: Roboto, Arial, sans-serif;
font-size: 15px;
}
form {
border: 5px solid #f1f1f1;
}
input[type=text], input[type=password] {
width: 100%;
padding: 16px 8px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
.title{
text-align: center;
font-family: 'Courier New', Courier, monospace;
font-weight: bold;
border: 1px solid;
border-radius: 5px;
background-color: #1b6535;
padding: 15px;
}
button {
background-color: #8ebf42;
color: white;
padding: 14px 0;
margin: 10px 0;
border: none;
cursor: grabbing;
width: 100%;
}
#form{
border: 1px solid;
text-align: center;
font-weight: bold;
font-family: 'Times New Roman', Times, serif;
padding: 50px 20px;
/* margin: 20px; */
background-color: #a8c66c;
}
/* label{
/* border: 1px solid ; */
padding: 5px;
} */
.table{
border: 1px solid;
background-color: #e3b448;
text-align: center;
}
p{
text-align: center;
}
</style> -->
</head>
<body>
<div class="container">
<div class="container1">
<form action="#" id="form">
<h1 class="title">Login Form </h1>
<label for="First">First Name</label>
<input type="text" placeholder="First-name" id="FirstName" value="">
<label for="Last">Last Name</label>
<input type="text" placeholder="Last-name" id="LastName" value="">
<label for="address">Address</label>
<input type="text" placeholder="Address" id="Address" value="">
<label for="pincode">Pincode</label>
<input type="text" placeholder="pincode" id="Pincode" value="">
<label for="Gender">Gender</label>
<input type="text" placeholder="Gender" id="Gender">
<div class="Select">
<label for="Food" id="Food">Choice of Food</label><br>
<sub>*Select any two</sub><br>
<span>Briyani<input type="checkbox" id="Dish1" value="Briyani"></span>
<span>Pizza<input type="checkbox" id="Dish2" value="Pizza"></span>
<span>Burger<input type="checkbox" id="Dish3" value="Burger"></span>
<span>Idly<input type="checkbox" id="Dish4" value="Idly"></span>
<span>Sambar-rice<input type="checkbox" id="Dis5" value="Sambar-rice"></span>
</div>
<label for="state">state</label>
<input type="text" placeholder="state" id="State" value="">
<label for="country">country</label>
<input type="text" placeholder="country" id="Country" value="">
<button class="btn btn-success" type="submit">Submit</button>
</form>
</div>
<div class="container2">
<table class="table" >
<tr class="heading">
<th>FirstName</th>
<th>LastName</th>
<th>Address</th>
<th>Pincode</th>
<th>Gender</th>
<th>State</th>
<th>Country</th>
<th>Food</th>
</tr>
</table><br><br>
</div>
</div>
</body>
<script src="script.js"></script>
</html>