-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjaycode.html
More file actions
70 lines (70 loc) · 2.32 KB
/
jaycode.html
File metadata and controls
70 lines (70 loc) · 2.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form Example</title>
<style>
.form-container {
border: 1px solid black;
padding: 20px;
width: 300px;
margin: 0 auto;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input[type="text"], .form-group input[type="file"] {
width: calc(100% - 20px);
}
.form-group input[type="checkbox"] {
margin-right: 10px;
}
.form-group .checkbox-group {
display: flex;
align-items: center;
}
.form-group .checkbox-group input {
margin-right: 5px;
}
.submit-button {
text-align: center;
}
</style>
</head>
<body>
<div class="form-container">
<form>
<div class="form-group">
<label for="friend_name">Enter Name of your friend</label>
<input type="text" id="friend_name" name="friend_name">
</div>
<div class="form-group">
<label for="file">Choose the file you want to post to your friend</label>
<input type="file" id="file" name="file">
</div>
<div class="form-group">
<label>What does the file contain?</label>
<div class="checkbox-group">
<input type="checkbox" id="image" name="content" value="image">
<label for="image">Image</label>
<input type="checkbox" id="source_code" name="content" value="source_code">
<label for="source_code">Source code</label>
<input type="checkbox" id="binary_code" name="content" value="binary_code">
<label for="binary_code">Binary code</label>
</div>
</div>
<div class="form-group">
<p>You have Completed the Form.</p>
</div>
<div class="form-group submit-button">
<input type="submit" value="Submit Query">
</div>
</form>
</div>
</body>
</html>