From ca5f147c03488d52ce8f406b75463fc807d88390 Mon Sep 17 00:00:00 2001 From: BrayanCorpse <43023352+BrayanCorpse@users.noreply.github.com> Date: Thu, 2 Apr 2020 17:14:43 -0600 Subject: [PATCH 1/4] Delete README.md --- README.md | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index bb1765f..0000000 --- a/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# calculadora jQuery - -Este proyecto esta desarrollado con jQuery, CSS y HTML, consiste en una calculadora para operaciones basicas como: - -* Sumar -* Restar -* Multiplicar -* Dividir -* Porcentaje - -Si deseas contribuir o usar este repositorio para tus proyectos escolares o lo que sea, hazlo es Gratis :) From ac474e55267bda225d7dce2fed0613228c52d9da Mon Sep 17 00:00:00 2001 From: BrayanCorpse <43023352+BrayanCorpse@users.noreply.github.com> Date: Thu, 2 Apr 2020 17:53:20 -0600 Subject: [PATCH 2/4] new button of --- index.html | 54 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/index.html b/index.html index 854ccd5..a61f136 100644 --- a/index.html +++ b/index.html @@ -114,13 +114,15 @@ console.clear(); }; - $("#encender").click(function() { + $("#apagar").click(function() { reset(); $('#cifra').attr("readonly", true); $('#cifra').attr("placeholder", null); $('#cifra').val(""); $("#punto").attr("disabled", false); $(".btn-lg").attr("disabled", true); + $("#erase").attr("disabled", true); + $("#clean").attr("disabled", true); $(".btn-primary").attr("disabled", false); $("#cifra").removeClass('color'); $("#memory").html(""); @@ -130,7 +132,7 @@ }); - $("#encender").dblclick(function() { + $("#encender").click(function() { $('#cifra').attr("readonly", false); $('#cifra').attr("placeholder", "Calculadora..."); $(".btn-lg").attr("disabled", false); @@ -510,22 +512,27 @@
- -
+ + + + + +     
- +
    
- +
-      +       +
-      -    +        
-      -   +        
-       +        
@@ -578,21 +583,21 @@
-      -    +         +
-      -   +         +
-       +        
@@ -611,21 +616,21 @@
-      -    +         +
-      -   +         +
-       +        
@@ -653,7 +658,7 @@
-        +        
-      +         +