From 30b20b57f7b8f913b8d755f85ecdbbd9103e26aa Mon Sep 17 00:00:00 2001 From: Alanstark19 Date: Fri, 23 Apr 2021 13:33:25 -0500 Subject: [PATCH 1/2] x^3button --- calculator.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calculator.html b/calculator.html index 839b37e4..2e4c8358 100644 --- a/calculator.html +++ b/calculator.html @@ -2,9 +2,9 @@ Calculator @@ -12,6 +12,6 @@ Number:

- + From a1e394517a0c96c9b84fed6456e7e09691fce35a Mon Sep 17 00:00:00 2001 From: Alanstark19 Date: Tue, 27 Apr 2021 13:44:20 -0500 Subject: [PATCH 2/2] Integrar x^2 & x^3 --- calculator.html | 5 +++++ eje4opcionalaph.txt | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 eje4opcionalaph.txt diff --git a/calculator.html b/calculator.html index 2e4c8358..541b4409 100644 --- a/calculator.html +++ b/calculator.html @@ -6,6 +6,10 @@ var num = document.getElementById("n1"); num.value = Math.pow(num.value, 3); } +function square() { + var num = document.getElementById("n1"); + num.value = num.value * num.value; +} @@ -13,5 +17,6 @@

+ diff --git a/eje4opcionalaph.txt b/eje4opcionalaph.txt new file mode 100644 index 00000000..5e061dd7 --- /dev/null +++ b/eje4opcionalaph.txt @@ -0,0 +1,13 @@ +git clone https://github.com/Alanstark19/cal_2com.git +ls +ls -a cal_2com +cd cal_2com +git status +git log +git branch mi_rama master +git checkout mi_rama +git add . +git commit -m "x^3button" +git log --oneline +git push https://github.com/Alanstark19/cal_2com.git mi_rama +history -w eje4opcionalaph.txt