-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (79 loc) · 5.12 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
78
79
80
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Doguito Petshop | Crear cuenta</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/css/base/base.css">
<link rel="stylesheet" href="./assets/css/registro.css">
<link rel="stylesheet" href="./assets/css/componentes/card.css">
<link rel="stylesheet" href="./assets/css/componentes/inputs.css">
<link rel="stylesheet" href="./assets/css/componentes/button.css">
</head>
<body>
<main class="container flex flex--column flex--center">
<div class="cadastro-cabecalho">
<img src="./assets/img/doguito.svg" alt="Logo Doguito" class="registry-header__logo">
<h1 class="registry-header__title">PetShop</h1>
</div>
<section class="cartao">
<h2 class="card__title">Completa tu registro</h2>
<form action="./registro_concluido.html" class="formulario flex flex--column">
<fieldset>
<legend class="form__label">Información básica</legend>
<div class="input-container">
<input name="name" id="name" class="input" type="text" placeholder="Nombre" required data-tipo="nombre">
<label class="input-label" for="name">Nombre</label>
<span class="input-message-error">Este campo no es valido</span>
</div>
<div class="input-container">
<input name="email" id="email" class="input" type="email" placeholder="Email" required data-tipo="email">
<label class="input-label" for="email">Email</label>
<span class="input-message-error">Este campo no es valido</span>
</div>
<div class="input-container">
<input name="password" id="password" class="input" type="password" placeholder="Contraseña" required pattern="^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?!.*[ !@#$%^&*_=+-]).{6,12}$" title="Al menos 6 caracteres, máximo 12, debe contener una letra minúscula, una letra mayúscula, un número y no puede contener caracteres especiales." data-tipo="password">
<label class="input-label" for="password">Contraseña</label>
<span class="input-message-error">Este campo no es valido</span>
</div>
</fieldset>
<fieldset>
<legend class="form__label">Información personal</legend>
<div class="input-container">
<input name="birth" id="birth" class="input" type="date" placeholder="Fecha de nacimento" required data-tipo="nacimiento">
<label class="input-label" for="birth">Fecha de nacimiento</label>
<span class="input-message-error">Este campo no es valido</span>
</div>
<div class="input-container">
<input name="phoneNumber" id="phoneNumber" class="input" type="text" placeholder="Número telefónico" pattern="\d{10}" required minlegth="10" maxlength="10" data-tipo="numero">
<label class="input-label" for="phoneNumber">Número telefónico</label>
<span class="input-message-error">Este campo no es valido</span>
</div>
</fieldset>
<fieldset>
<legend class="form__label">Dirección</legend>
<div class="input-container">
<input name="address" id="address" class="input" type="text" placeholder="Dirección" required pattern="[\s\S]{10,40}" data-tipo="direccion">
<label class="input-label" for="address">Dirección completa</label>
<span class="input-message-error">Este campo no es valido</span>
</div>
<div class="input-container">
<input name="city" id="city" class="input" type="text" placeholder="Ciudad" required pattern="[\s\S]{4,30}" data-tipo="ciudad">
<label class="input-label" for="city">Ciudad</label>
<span class="input-message-error">Este campo no es valido</span>
</div>
<div class="input-container">
<input name="state" id="state" class="input" type="text" placeholder="Estado" required pattern="[\s\S]{4,30}" data-tipo="estado">
<label class="input-label" for="state">Estado</label>
<span class="input-message-error">Este campo no es valido</span>
</div>
</fieldset>
<button class="button">Registrar</a>
</form>
</section>
</main>
<script src="./js/app.js" type="module"></script>
</body>
</html>