-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (74 loc) · 2.24 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
<!DOCTYPE html>
<html lang="es">
<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" />
<link rel="stylesheet" href="style.css" />
<title>Audio y contenido Form</title>
</head>
<body>
<h1>Form para agregar audios y descripcion</h1>
<div class="main-form">
<form
id="uploadForm"
action="POST"
enctype="multipart/form-data"
class="form-container"
>
<input type="file" name="audio-file" id="audio-file" multiple />
<!-- <input type="text" name="title" id="title" placeholder="Título" />
<textarea
name="description"
id="description"
cols="30"
rows="10"
placeholder="Agregar descripción"
></textarea> -->
<div class="result"></div>
<input type="submit" value="Subir archivo" />
</form>
</div>
<!-- <div class="result"></div> -->
<hr />
<!--
<h1>Form para agregar imagenes, links y descripción</h1>
<main class="main-form">
<form id="form-container" class="form-container" method="post">
<input type="file" id="img-file" multiple />
<input
type="text"
name="form-title"
id="form-title"
class="form-title"
placeholder="Título"
oninvalid="this.setCustomValidity('Please complete this field with a title')"
oninput="this.setCustomValidity('')"
required
/>
<textarea
name="description"
id="description"
cols="30"
rows="10"
placeholder="Agregar descripción"
></textarea>
<input
type="url"
name="form-content"
id="form-content"
class="form-content"
placeholder="URL"
oninvalid="this.setCustomValidity('You need to complete this field with a valid URL')"
oninput="this.setCustomValidity('')"
required
/>
<button class="form-btn" id="form-btn">
<i class="fas fa-share-square"></i>
Add
</button>
</form>
</main> -->
<script src="main.js"></script>
</body>
</html>