-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
145 lines (116 loc) · 4.55 KB
/
contact.html
File metadata and controls
145 lines (116 loc) · 4.55 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
<!DOCTYPE HTML>
<html lang="es">
<head>
<meta charset="utf-8" />
<title>Proyecto con JavaScript</title>
<!-- Estilos CSS -->
<link rel="stylesheet" type="text/css" href="css/styles.css" />
<link id="theme" rel="stylesheet" type="text/css" href="css/green.css" />
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="js/jquery-ui/jquery-ui.min.css" />
<link rel="stylesheet" href="js/jquery-ui/jquery-ui.structure.min.css" />
<link rel="stylesheet" href="js/jquery-ui/jquery-ui.theme.min.css" />
<script type="text/javascript" src="js/jquery-ui/jquery-ui.min.js"></script>
<!-- Plugin validacion -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.3.26/jquery.form-validator.min.js"></script>
<!-- Mis Scripts -->
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<!-- el selector de color -->
<div id="selector-theme" role="toolbar" aria-label="Cambiar tema de color">
<button id="to-green" aria-label="Verde" aria-pressed="true">
<span id="to-green-button" style="display: inline;">(Tema seleccionado)</span>
</button>
<button id="to-red" aria-label="Rojo" aria-pressed="false">
<span id="to-red-button" style="display: none;">(Tema seleccionado)</span>
</button>
<button id="to-blue" aria-label="Azul" aria-pressed="false">
<span id="to-blue-button" style="display: none;">(Tema seleccionado)</span>
</button>
</div>
<section id="global">
<!-- Cabecera -->
<header>
<div id="logo">
<h1>Proyecto JS</h1>
</div>
<div class="clearfix"></div>
<nav id="menu" aria-label="Primary">
<ul>
<li><a href="index.html" id="index-link">Inicio</a></li>
<li><a href="reloj.html" id="reloj-link">Reloj</a></li>
<li><a href="about.html" id="about-link">Sobre mi</a></li>
<li><a href="contact.html" id="contact-link">Contacto</a></li>
</ul>
</nav>
</header>
<!-- Contenido -->
<section id="content">
<div id="box">
<!-- Cargar formulario -->
<h2>Contacto</h2>
<form action="" method="POST" id="form_contact" role="form" aria-label="Formulario de contacto">
<div id="error" class="error" role="alert" aria-label="Alerta de errores"></div>
<label for="name">Nombre</label>
<input type="text" name="name" id="name" data-validation="alphanumeric" />
<label for="surname">Apellidos</label>
<input type="text" name="surname" id="surname" data-validation="alphanumeric" />
<label>Email</label>
<input type="email" name="email" id="email" data-validation="email"/>
<label for="sex">Sexo</label>
<select name="sex" id="sex" data-validation="required" aria-label="Elija su sexo">
<option value="men">Hombre</option>
<option value="woman">Mujer</option>
</select>
<label for="date">Fecha de nacimiendo</label>
<input type="text" name="date" id="date" data-validation="date" data-validation-format="dd-mm-yyyy"/>
<label for="years">Edad</label>
<input type="number" name="years" id="years" data-validation="number"/>
<input type="submit" value="Enviar" />
</form>
</div>
<aside id="sidebar">
<div id="about">
<h4><span>¿Quien soy?</span></h4>
<img src="img/caracol.jpg" />
<p>
Mi nombre es Johan y soy desarrollador web. Me encanta programar y crear cosas nuevas.
</p>
</div>
<div id="login">
<h4><span>Identificate</span></h4>
<form role="form" aria-label="Inicio de sesión">
<label for="form_name">
Nombre
</label>
<input type="text" name="name" id="form_name" placeholder="Tu nombre" /><br>
<label for="form_genero">
Género
</label>
<select name="genero" id="form_genero" aria-label="Elige tu género">
<option value="hombre">Hombre</option>
<option value="mujer">Mujer</option>
</select><br>
<label for="email">
Correo
</label>
<input type="text" name="email" id="email" placeholder="Tu correo electrónico" /><br>
<label for="password">
Contraseña
</label>
<input type="password" name="password" id="password" placeholder="Tu contraseña" /><br>
<input type="submit" value="Entrar" title="Iniciar sesión" />
</form>
</div>
</aside>
<div class="clearfix"></div>
</section>
</section>
<footer>
Estudiante de JavaScript Johan G © 2023
<a href="#" class="subir">Ir arriba</a>
</footer>
</body>
</html>