-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (66 loc) · 1.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>File and Text Input Example</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
color: #333;
display: flex;
flex-direction: column;
justify-content: center;
height: 100vh;
width: 300px;
margin-left: 200px;
}
h1 {
color: #007BFF;
}
label {
font-weight: bold;
margin-top: 10px;
display: block;
}
input {
margin-bottom: 10px;
padding: 8px;
width: 100%;
box-sizing: border-box;
}
button {
background-color: #007BFF;
color: #fff;
padding: 10px 15px;
border: none;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
#result {
margin-top: 20px;
padding: 10px;
border: 1px solid #ddd;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body>
<h1>File and Text Input Example</h1>
<!-- File Input -->
<label for="fileInput">Upload File:</label>
<input type="file" id="fileInput">
<!-- Text Input -->
<label for="textInput">Enter Text:</label>
<input type="text" id="textInput">
<!-- Button to Trigger Processing -->
<button type="button" onclick="processInputs()">Process Inputs</button>
<!-- Display Result -->
<div id="result"></div>
<script type="module" src="./dist/bundle.js"></script>
</body>
</html>