-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (103 loc) · 5.22 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
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
<!doctype html>
<html lang="es">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<link rel="stylesheet" href="calcu3.css">
<title>Calculadora V3</title>
</head>
<body>
<div class="card text-center">
<div class="card-header">
<label class="custom-label " id="op">Calculadora</label>
</div>
<div class="card-body custom-black-bg">
<!-- Display -->
<input type="text" class="custom-textbox form-control text-right" id="display" placeholder="0">
<br>
<!--Botones fila 1-->
<div class="row justify-content-md-center">
<div class="col-3">
<button type="button" class="btn btn-secondary btn-block btn-circle" id="AC" tag="AC">AC</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-secondary btn-block btn-circle" id="masmenos" tag="+/-">+/-</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-secondary btn-block btn-circle" id="porc" tag="%">%</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-warning btn-block btn-circle" id="div" tag="/">/</button>
</div>
</div>
<br>
<!--Botones fila 2-->
<div class="row justify-content-md-center">
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="7" tag="7">7</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="8" tag="8">8</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="9" tag="9">9</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-warning btn-block btn-circle" id="multi" tag="*">*</button>
</div>
</div>
<br>
<!--Botones fila 3-->
<div class="row justify-content-md-center">
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="4" tag="4">4</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="5" tag="5">5</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="6" tag="6">6</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-warning btn-block btn-circle" id="menos" tag="menos">-</button>
</div>
</div>
<br>
<!--Botones fila 4-->
<div class="row justify-content-md-center">
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="1" tag="1">1</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="2" tag="2">2</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="3" tag="3">3</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-warning btn-block btn-circle" id="mas" tag="+">+</button>
</div>
</div>
<br>
<!--Botones fila 5-->
<div class="row justify-content-md-center">
<div class="col-6">
<button type="button" class="btn btn-dark btn-block btn-circle-double" id="0" tag="0">0</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-dark btn-block btn-circle" id="coma" tag=",">,</button>
</div>
<div class="col-3">
<button type="button" class="btn btn-warning btn-block btn-circle" id="igual" tag="=">=</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
<script src="calcu3.js"></script>
</body>
</html>