-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (61 loc) · 2.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta nombre="viewport" content="width=device-width, initial-scale=1.0">
<title>CRUD | LocalStorage</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<div class="container">
<h2 class="title-header">CRUD Application With LocalStorage</h2>
<div class="mb-5">
<div class="row">
<div class="form-group col-md-6 mb-3">
<label for="nombre">Nombre</label>
<input type="text" nombre="nombre" id="nombre" class="form-control" placeholder="Ingrese su nombre">
</div>
<div class="form-group col-md-6 mb-3">
<label for="edad">Edad</label>
<input type="number" nombre="edad" id="edad" class="form-control" placeholder="Ingrese su edad">
</div>
<div class="form-group col-md-6 mb-3">
<label for="direccion">Dirección</label>
<input type="text" nombre="direccion" id="direccion" class="form-control" placeholder="Ingrese su direccion">
</div>
<div class="form-group col-md-6 mb-3">
<label for="email">Correo Electrónico</label>
<input type="email" nombre="email" id="email" class="form-control" placeholder="Ingrese su correo electrónico">
</div>
<div class="col-lg-12 mt-5">
<button class="btn btn-success" id="Submit" onclick="agregarDatos()">Agregar</button>
<button class="btn btn-primary" id="Actualizar">Actualizar</button>
</div>
</div>
</div>
<hr>
<div class="row mt-5">
<div class="col-12">
<table class="table table-striped table-bordered" id="crudTable">
<thead>
<tr>
<th>Nombre</th>
<th>Edad</th>
<th>Direccion</th>
<th>Email</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</header>
<main>
</main>
<script src="js/userData.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>