-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (64 loc) · 3.57 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Raleway:100,400" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<title>Gasto Mensual</title>
</head>
<body>
<div class="container">
<header>
<h1 class="text-center">Gasto Mensual</h1>
</header>
<form class="container-sueldo" id="formulario">
<input type="submit" value="Añadir" class="btn btn-primary">
<input type="text" placeholder="Inserte Su Saldo Actual" class="form-control">
</form>
<section class="contenido-principal">
<div class="row">
<div class="col ">
<div class="contenido primario">
<h2 class="text-center">Añade tus gastos aqui</h2>
<form id="agregar-gasto" action="#">
<div class="form-group">
<label for="gasto"> Nombre del Gasto:</label>
<input type="text" class="form-control" id="gasto" >
</div>
<div class="form-group">
<label for="cantidad">Cantidad en $:</label>
<input type="text" class="form-control" id="cantidad" placeholder="$">
</div>
<button type="submit" class="btn btn-primary">Agregar</button>
</form>
</div>
</div>
<div class="col">
<div class="contenido secundario">
<h2 class="text-center">Listado</h2>
<div id="gastos">
<ul class="list-group"></ul>
</div>
<div id="presupuesto" class="presupuesto">
<div class="alert alert-primary">
<p>Tu Presupuesto: $ <span id="total"></span> </p>
</div>
<div class="restante alert alert-success">
<p>Saldo Restante: $ <span id="restante"></span></p>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="js/app.js"></script>
</body>
</html>