-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLAKSHMAN.html
More file actions
226 lines (188 loc) · 5.63 KB
/
LAKSHMAN.html
File metadata and controls
226 lines (188 loc) · 5.63 KB
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!DOCTYPE html>
<html>
<head>
<body>
<style>
h2 {text-align: center;}
</style>
<body style="background-color:powderblue;">
<h2 style ="background-color:yellow;">L A K S H M A N</h2>
<h2 style>TRANSPORTATION & AUTOMATION </h2>
<br>
</body>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
input {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 16px;
}
input[type=submit] {
background-color: #4CAF50;
color: white;
}
.container {
background-color: #f1f1f1;
padding: 20px;
}
#message {
display:none;
background: #f1f1f1;
color: #000;
position: relative;
padding: 20px;
margin-top: 10px;
}
#message p {
padding: 10px 35px;
font-size: 18px;
}
.valid {
color: green;
}
.valid:before {
position: relative;
left: -35px;
content: "?";
}
.invalid {
color: red;
}
.invalid:before {
position: relative;
left: -35px;
content: "?";
}
</style>
</head>
<body>
<h3>Password Validation</h3>
<p>Try to submit the form.</p>
<div class="container">
<form action="/action_page.php">
<label for="usrname">Username</label>
<input type="text" id="usrname" name="usrname" required>
<label for="psw">Password</label><input type="password" id="psw" name="psw" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters" required>
<input type="submit" value="Submit">
</form>
</div>
<div id="message">
<h3>Password must contain the following:</h3>
<p id="letter" class="invalid">A <b>lowercase</b> letter</p>
<p id="capital" class="invalid">A <b>capital (uppercase)</b>letter</p>
<p id="number" class="invalid">A <b>number</b></p>
<p id="length" class="invalid">Minimum <b>8 characters</b></p>
</div>
<script>
var myInput = document.getElementById("psw");
var letter = document.getElementById("letter");
var capital = document.getElementById("capital");
var number = document.getElementById("number");
var length = document.getElementById("length");
myInput.onfocus = function() {
document.getElementById("message").style.display = "block";
}
myInput.onblur = function() {
document.getElementById("message").style.display = "none";
}
var lowerCaseLetters = /[a-z]/g;
if(myInput.value.match(lowerCaseLetters)) {
letter.classList.remove("invalid");
letter.classList.add("valid");
} else {
letter.classList.remove("valid");
letter.classList.add("invalid");
}
var upperCaseLetters = /[A-Z]/g;
if(myInput.value.match(upperCaseLetters)) {
capital.classList.remove("invalid");
capital.classList.add("valid");
} else {
capital.classList.remove("valid");
capital.classList.add("invalid");
}
var numbers = /[0-9]/g;
if(myInput.value.match(numbers)) {
number.classList.remove("invalid");
number.classList.add("valid");
} else {
number.classList.remove("valid");
number.classList.add("invalid");
}
if(myInput.value.length >= 8) {
length.classList.remove("invalid");
length.classList.add("valid");
} else {
length.classList.remove("valid");
length.classList.add("invalid");
}
}
</script>
<style>
img
{
width:400px;
height:500px;
}
</style>
<div class="container">
<!DOCTYPE html>
<html>
<head>
<title>COLOR </title>
</head>
<body>
<span> Select the desire color of your Brand. </span>
<input type = "color">
</body>
</html>
<marquee style="background-color:powderblue;">
<html>
<head>
<script src="index.js">
</script>
<p> Description : Smart mobility is not just getting one place to another its about enabling better living and better business performance we anticipate future mobiltiy trends to keep a head of the game. Mobility is nothing but helping people and others. Motors are the one end to end vechile Manufacturer </p></marquee>
<p></p>
<p>Brand : Motors<a href="https://media.istockphoto.com/photos/robot-assembly-line-in-car-factory-picture-id849023956?k=6&m=849023956&s=612x612&w=0&h=_Aap0YtLBI-ZsmOGtAce7pVTIjLcs3yx9vUzE8bziao=">(Industry)</a></p>
<p>Designer: Lakshman</p>
<p>Price Starts at : $30,000 (US)</p>
<p>Application : Transportation & Automation</p>
<p>Powered : yes</p>
<p>Self Drive : yes</p>
<p>Propelled Wheels : 4-6</p>
<head>
<body>
<div>
<span> Please Choose a Car to get its Details :</span>
<select id="SelectCar"onchange="displayCarDetails()">
<option>Innova</option>
<option>Dzire</option>
<option>i20</option>
<option>i10</option>
</select>
<BR>
<para id="CarDetail">
</para>
</div>
</body>
</html>
<br>
<tr>
<td><img src="https://i.pinimg.com/originals/f8/e0/6f/f8e06f8bf7394dded02163a3f341a583.jpg"></td>
<td><img src="https://tesla-cdn.thron.com/delivery/public/image/tesla/8e2df1b9-a4bf-4eb9-beec-2cf5cc77fca0/bvlatuR/std/2880x2400/Desktop-ModelY"></td>
<td><img src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQHOOOrI-9VoU88uybyR-FPh4Ttes1CzoGH1w&usqp=CAU"></td>
</tr>
<tr>
<td><img src="https://images.unsplash.com/photo-1542362567-b07e54358753?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=1000&q=80"></td>
<td><img src="https://www.drivespark.com/images/2020-06/2021-bmw-m5-competition-exterior-5.jpg"></td>
<td><img src="https://www.carscoops.com/wp-content/uploads/2020/01/2024-Tesla-Model-S-CarScoops-1.jpg"></td>
</tr>
</div>
</div>
<p><b>Crafted and Designed</b><a href="https://i.ytimg.com/vi/UZPqT6QxVmU/maxresdefault.jpg"> Modal Development</a></b>
</body>
</html>