From 75f527b9504351bc632e17fb0862395000851a89 Mon Sep 17 00:00:00 2001 From: Elvira Quiroz Date: Tue, 17 Aug 2021 20:55:54 +0000 Subject: [PATCH 1/2] fixig layouts, images url, typos --- exercises/03.1-Access-and-retrieve/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/03.1-Access-and-retrieve/README.md b/exercises/03.1-Access-and-retrieve/README.md index 098a5b6c..56800c1e 100644 --- a/exercises/03.1-Access-and-retrieve/README.md +++ b/exercises/03.1-Access-and-retrieve/README.md @@ -19,7 +19,7 @@ Every array has the following parts: - Index: is the position of an element. -![How arrays work](https://github.com/4GeeksAcademy/javascript-arrays-exercises-tutorial/blob/5e6a9b1276ed2b7de1b9bb0240105983c170611c/.learn/assets/DbmSOHT.png?raw=true) +![How arrays work](../../.learn/assets/DbmSOHT.png?raw=true) To access any item within the array you need to know its index (position). The index is an integer value that represents the position in which the element is located. @@ -35,5 +35,5 @@ To access any item within the array you need to know its index (position). The i ### :bulb: Hint: - Use null as a value and not "null" as a string. + + Use `null` as a value and not `null` as a string. From 6de0961722fbdbfd58f5d5a62a74fd83a41c498e Mon Sep 17 00:00:00 2001 From: Elvira Quiroz Date: Tue, 17 Aug 2021 20:57:57 +0000 Subject: [PATCH 2/2] fixing url , typos and layoout --- .../01-Welcome => .learn/assets}/menu2.png | Bin exercises/01-Welcome/README.es.md | 6 +++++ exercises/01-Welcome/README.md | 5 ++++ exercises/01-Welcome/menu.png | Bin 6606 -> 0 bytes exercises/02-Hello-World/README.es.md | 2 +- exercises/02-Hello-World/README.md | 2 +- .../03.1-Access-and-retrieve/README.es.md | 4 +-- exercises/03.2-Retrieve-Items/README.es.md | 4 +-- exercises/03.2-Retrieve-Items/README.md | 4 +-- .../README.es.md | 8 +++--- .../05.2-Loop-from-seven-to-twelve/README.md | 8 +++--- exercises/06.2-Loop-from-the-top/README.es.md | 20 +++------------ exercises/06.2-Loop-from-the-top/README.md | 24 ++++-------------- exercises/06.3-Loop-adding-two/README.es.md | 2 +- exercises/06.3-Loop-adding-two/README.md | 2 +- .../README.es.md | 2 +- .../README.md | 2 +- exercises/06.5-One-last-looping/README.es.md | 4 +-- exercises/06.5-One-last-looping/README.md | 4 +-- exercises/07.1-Finding-Waldo/README.es.md | 2 +- exercises/07.1-Finding-Waldo/README.md | 2 +- exercises/07.2-Letter-Counter/README.es.md | 16 ++++++------ exercises/07.3-Flip-Array/README.es.md | 2 +- exercises/08.1-Mixed-array/README.es.md | 17 ++++++------- exercises/08.1-Mixed-array/README.md | 4 +-- exercises/08.3-Sum-all-items/README.es.md | 3 ++- exercises/08.3-Sum-all-items/README.md | 2 ++ exercises/09-forEach-loop/README.es.md | 2 +- exercises/09-forEach-loop/README.md | 2 +- .../10-Everything-is-awesome/README.es.md | 2 +- exercises/10-Everything-is-awesome/README.md | 2 +- exercises/11-Do-while/README.es.md | 4 +-- exercises/11-Do-while/README.md | 4 +-- exercises/12-Delete-element/README.es.md | 4 +-- .../15-Max-integer-from-array/README.es.md | 5 ++-- exercises/15-Max-integer-from-array/README.md | 2 ++ exercises/16-Foreach-min-val/README.es.md | 4 +-- exercises/16-Foreach-min-val/README.md | 3 ++- exercises/17-The-for-loop/README.es.md | 8 +++--- exercises/17-The-for-loop/README.md | 5 ++-- exercises/18-Nested-arrays/README.es.md | 2 +- exercises/18-Nested-arrays/README.md | 2 +- .../README.es.md | 2 +- .../README.md | 2 +- exercises/20.1-Map-an-array/README.es.md | 2 +- exercises/20.1-Map-an-array/README.md | 2 +- .../README.es.md | 2 +- .../README.md | 2 +- exercises/20.4-Map-data-types/README.es.md | 5 ++-- exercises/20.4-Map-data-types/README.md | 5 ++-- .../20.5-Map-arrays-of-objects/README.es.md | 4 +-- .../20.5-Map-arrays-of-objects/README.md | 4 +-- exercises/20.6-Yes-and-no/README.es.md | 8 +++--- exercises/20.6-Yes-and-no/README.md | 8 +++--- exercises/21-Filter-an-array/README.es.md | 3 ++- exercises/21-Filter-an-array/README.md | 2 +- exercises/21.2-Filter-done-tasks/README.es.md | 2 +- exercises/21.2-Filter-done-tasks/README.md | 2 +- exercises/22-Matrix-Builder/README.es.md | 2 +- exercises/22-Matrix-Builder/README.md | 3 ++- exercises/23-Parking-Lot/README.es.md | 9 ++++--- exercises/23-Parking-Lot/README.md | 4 +-- exercises/24-Making-a-ul/README.es.md | 2 +- exercises/24-Making-a-ul/README.md | 2 +- exercises/25-Techno-beat/README.es.md | 6 ++--- exercises/25-Techno-beat/README.md | 6 ++--- 66 files changed, 140 insertions(+), 151 deletions(-) rename {exercises/01-Welcome => .learn/assets}/menu2.png (100%) delete mode 100644 exercises/01-Welcome/menu.png diff --git a/exercises/01-Welcome/menu2.png b/.learn/assets/menu2.png similarity index 100% rename from exercises/01-Welcome/menu2.png rename to .learn/assets/menu2.png diff --git a/exercises/01-Welcome/README.es.md b/exercises/01-Welcome/README.es.md index a78d1d84..44be83ed 100644 --- a/exercises/01-Welcome/README.es.md +++ b/exercises/01-Welcome/README.es.md @@ -10,11 +10,17 @@ Practicaremos los bucles o loops en javascript hasta que te sientas cómodo con Te recomendamos ver el siguiente ![video sbre loops o bucles](https://www.youtube.com/watch?v=U3ZlQSOcOI0) antes de empezar. Nos centraremos en: 1. For loop. + 2. forEach. + 3. while. + 4. map. + 5. filter. + 6. find. + 7. Diccionario de bucles (objetos literales). Haga click en `next →` cuando estés listo para iniciar los ejercicios. diff --git a/exercises/01-Welcome/README.md b/exercises/01-Welcome/README.md index 6bcccda2..aeaf3d6d 100644 --- a/exercises/01-Welcome/README.md +++ b/exercises/01-Welcome/README.md @@ -10,11 +10,16 @@ Practice loops in javascript until you become confortable with it. We recomend you watching [this short video about loops](https://www.youtube.com/watch?v=U3ZlQSOcOI0) before starting. We will focus on: 1. For loop. + 2. forEach. + 3. while. 4. map. + 5. filter. + 6. find. + 7. Loop dictionaries (object literals). Click `next →` when you are ready to start the exercises. diff --git a/exercises/01-Welcome/menu.png b/exercises/01-Welcome/menu.png deleted file mode 100644 index 820f3dc194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PMQO%<9;T}<+{ygEp z+xqmte_>SZQhc}n5_~3g8kaixrb-G#wfhOD2d5n&n4)g9x5ddr8(LcVxz%Me5BmM- zBi;GuhF1_v21rvqRI)z;3?*446)c69fE0Nlb}tDDdPHdMftvgUkxkAw_+ zKh!huJn^~=*FQ=dLLw$1B}X0+odVzU&dmcv8I%XoE(7WHAV!y z2{Z@5y+&_d4gb{u0NCgN0K%)sdNt8>n18Z(>9GIAewZA>jZ&+Wq?c!jKF_tzfyVs8s%0rhZtLF zike%$w&zuYpP7yKZ}|V0_@Cf^h-x5X2N7HAS00%Ef9?G*`QOR^m-x5h*MBLp|6B22 ziT@ILfq%{WUw!yblm8xl?J_?yFYuog<43-wM=E_?#B?c9AyrAVW7S2pHe$qLIgW`0 zBgzyhQwupL>XxF)v)R??roA0pSj`PTWh=
  • Red
  • Orange
  • Pink
  • Violet
  • ``` \ No newline at end of file diff --git a/exercises/24-Making-a-ul/README.md b/exercises/24-Making-a-ul/README.md index c1dc8cc3..8fa4e047 100644 --- a/exercises/24-Making-a-ul/README.md +++ b/exercises/24-Making-a-ul/README.md @@ -4,6 +4,6 @@ - Fill the `generateLI` and `filterColors` function to make the exercise print the following HTML with only the sexy colors. Like this: -```html +```js
    • Red
    • Orange
    • Pink
    • Violet
    ``` \ No newline at end of file diff --git a/exercises/25-Techno-beat/README.es.md b/exercises/25-Techno-beat/README.es.md index 728fe04f..af134091 100644 --- a/exercises/25-Techno-beat/README.es.md +++ b/exercises/25-Techno-beat/README.es.md @@ -14,15 +14,15 @@ Estás trabajando con un DJ y él necesita un programa que pueda crear ritmos pa ### Restricciones: -1. Si encuentra sel número Uno (1) tres veces seguidas, TAMBIÉN debe AGREGARSE a la cadena "¡¡¡Break the base!!!" +1. Si encuentra sel número Uno (1) tres veces seguidas, TAMBIÉN debe AGREGARSE a la cadena `¡¡¡Break the base!!!` ### Resultado esperado de la función: -Un string que debe estar compuesto por Boom o Drop the base o !!!Break the base!!! +Un string que debe estar compuesto por Boom o Drop the base o `!!!Break the base!!!` ### Resultado esperado: -```md +```js Boom Boom Drop the base Drop the base Boom Boom Boom Boom Boom Drop the base Drop the base Drop the base !!!Break the base!!! Boom Boom Boom Boom Boom Boom diff --git a/exercises/25-Techno-beat/README.md b/exercises/25-Techno-beat/README.md index 6023588f..c28b9264 100644 --- a/exercises/25-Techno-beat/README.md +++ b/exercises/25-Techno-beat/README.md @@ -14,15 +14,15 @@ You are working with a DJ and he needs a program that can create a beats for his ### Constraints: -1. If you find the number One (1) three times in a row, should ALSO ADD to the string "!!!Break the base!!!" +1. If you find the number One (1) three times in a row, should ALSO ADD to the string `!!!Break the base!!!` ### Expected Function Output: -A string which should be comprise of Boom or Drop the base or !!!Break the base!!! +A string which should be comprise of Boom or Drop the base or `!!!Break the base!!!` ### Excepted Output: -```md +```js Boom Boom Drop the base Drop the base Boom Boom Boom Boom Boom Drop the base Drop the base Drop the base !!!Break the base!!! Boom Boom Boom Boom Boom Boom