From 6941a5644fa86d40ea6fb8269b8a5bec791f8979 Mon Sep 17 00:00:00 2001 From: vplentinax Date: Fri, 5 Jun 2020 14:20:26 -0400 Subject: [PATCH 01/37] pr-95-Giorgiosaud-correction --- .../10-ifelse/1-if-zero-string/solution.md | 6 +- .../10-ifelse/1-if-zero-string/task.md | 4 +- .../2-check-standard/ifelse_task2.svg | 16 +- .../2-check-standard/ifelse_task2/index.html | 6 +- .../10-ifelse/2-check-standard/task.md | 6 +- .../10-ifelse/3-sign/if_sign/index.html | 2 +- .../10-ifelse/3-sign/solution.md | 2 +- 1-js/02-first-steps/10-ifelse/3-sign/task.md | 10 +- .../5-rewrite-if-question/solution.md | 2 +- .../10-ifelse/5-rewrite-if-question/task.md | 8 +- .../6-rewrite-if-else-question/solution.md | 6 +- .../6-rewrite-if-else-question/task.md | 14 +- 1-js/02-first-steps/10-ifelse/article.md | 179 +++++++++--------- 13 files changed, 131 insertions(+), 130 deletions(-) diff --git a/1-js/02-first-steps/10-ifelse/1-if-zero-string/solution.md b/1-js/02-first-steps/10-ifelse/1-if-zero-string/solution.md index 51f1d4680..5e67c98f8 100644 --- a/1-js/02-first-steps/10-ifelse/1-if-zero-string/solution.md +++ b/1-js/02-first-steps/10-ifelse/1-if-zero-string/solution.md @@ -1,12 +1,12 @@ **Yes, it will.** -Any string except an empty one (and `"0"` is not empty) becomes `true` in the logical context. +Cualquier string excepto uno vacío (y `"0"` que no es vacío) se convierte en `true` en un contexto lógico. -We can run and check: +Podemos correr y revisar esto: ```js run if ("0") { - alert( 'Hello' ); + alert( 'Hola' ); } ``` diff --git a/1-js/02-first-steps/10-ifelse/1-if-zero-string/task.md b/1-js/02-first-steps/10-ifelse/1-if-zero-string/task.md index 5f16cda85..a73e3bc2f 100644 --- a/1-js/02-first-steps/10-ifelse/1-if-zero-string/task.md +++ b/1-js/02-first-steps/10-ifelse/1-if-zero-string/task.md @@ -2,9 +2,9 @@ importance: 5 --- -# if (a string with zero) +# si (un string con cero) -Will `alert` be shown? +Creará un `alert` que se muestre? ```js if ("0") { diff --git a/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2.svg b/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2.svg index d2ac8d760..732d1d2c5 100644 --- a/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2.svg +++ b/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2.svg @@ -7,22 +7,22 @@ - + - Begin + Comencemos - You don't know? - “ECMAScript”! + ¿No lo sabes? + ¡“ECMAScript”! - Right! + ¡Correcto! @@ -31,13 +31,13 @@ - What's the - “official” name of + ¿Cual es el + nombre “oficial” de JavaScript? - Other + Otro diff --git a/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2/index.html b/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2/index.html index ea9966653..bbbc6adde 100644 --- a/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2/index.html +++ b/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2/index.html @@ -5,12 +5,12 @@ diff --git a/1-js/02-first-steps/10-ifelse/2-check-standard/task.md b/1-js/02-first-steps/10-ifelse/2-check-standard/task.md index 1d1a3f33d..9b66d0d51 100644 --- a/1-js/02-first-steps/10-ifelse/2-check-standard/task.md +++ b/1-js/02-first-steps/10-ifelse/2-check-standard/task.md @@ -2,11 +2,11 @@ importance: 2 --- -# The name of JavaScript +# El nombre de JavaScript -Using the `if..else` construct, write the code which asks: 'What is the "official" name of JavaScript?' +Usando el constructor `if..else`, escribe el codigo que pregunta: '¿Cual es el nombre "oficial" de JavaScript?' -If the visitor enters "ECMAScript", then output "Right!", otherwise -- output: "Didn't know? ECMAScript!" +Si el visitador escribe "ECMAScript", Entonces muestras "¡Correcto!", de lo contrario -- muestra: "¿No lo sabes? ¡ECMAScript!" ![](ifelse_task2.svg) diff --git a/1-js/02-first-steps/10-ifelse/3-sign/if_sign/index.html b/1-js/02-first-steps/10-ifelse/3-sign/if_sign/index.html index f168360dd..5216ec632 100644 --- a/1-js/02-first-steps/10-ifelse/3-sign/if_sign/index.html +++ b/1-js/02-first-steps/10-ifelse/3-sign/if_sign/index.html @@ -6,7 +6,7 @@