-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathl5e1.html
61 lines (54 loc) · 1.51 KB
/
l5e1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>L4</title>
<style>
body {
display: flex;
flex-direction: column;
line-height: 60px;
background-color: lightblue;
}
body input {
height: 30px;
width: 300px;
margin-left: 30vw;
display: block;
float: left;
border-radius: 5px;
padding: 5px;
}
body input[type="button"] {
width: 100px;
border-radius: 5px;
color: white;
background-color: blue;
}
body h1 {
display: block;
margin: 10vh 30vw 0px;
}
.warning{
color: red;
margin: 0 30vw;
}
</style>
</head>
<body>
<form>
<h1>Hi there</h1>
<input type="text" placeholder="Enter first name" id="f_name"><br>
<input type="text" placeholder="Enter last name" id="l_name"><br>
<input type="text" placeholder="Enter email" id="usermail"><br>
<input type="button" id="button" value="Confirm">
</form>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script src="l4e1.js"></script>
</body>
</html>