-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (58 loc) · 2.77 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MI PROYECTO CRUD</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="stylesheet" href="estilos.css/estilos.css">
</head>
<body>
<header>
<h2>PROYECTO CRUD CON LOCALSTORAGE</h2>
</header>
<div class="container text-center">
<h1>Agregar contactos</h1>
</div>
<div class="container">
<div class="container mb-5">
<div class="row">
<form id="formulario">
<div class="mb-3">
<label class="form-label">Correo electronico</label>
<input type="email" class="form-control" id="inputEmail" placeholder="Correo Electronico">
</div>
<div class="mb-3">
<label class="form-label">Nombre completo</label>
<input type="text" class="form-control" id="inputName" placeholder="Nombre Completo">
</div>
<div class="mb-3">
<label class="form-label">Telefono</label>
<input type="number" class="form-control" id="inputPhone" placeholder="Telefono">
</div>
<button type="submit" class="btn btn-primary" id="btnAdd" onclick="AddData()">Enviar</button>
<button type="submit" class="btn btn-primary" id="btnUpdate" >Actualizar</button>
</form>
</div>
<hr>
<h3 class="listado">LISTADO</h3>
<table class="table table-bordered" id="tableData">
<thead>
<tr>
<th>Correo</th>
<th>Nombre</th>
<th>Telefono</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<footer>
<p>Hecho por Juan Esteban Rios Hernandez</p>
</footer>
<script src="crud.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
</body>
</html>