From dca69422ec4b5173a27119e191b803fc9927dc51 Mon Sep 17 00:00:00 2001
From: pzagmel
From d34a53e44bd69bcba98d6ab72f2f9c7229e61033 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 02:41:48 +0200 Subject: [PATCH 090/294] Update index.html --- exercises/06-Practicing-Rules/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/exercises/06-Practicing-Rules/index.html b/exercises/06-Practicing-Rules/index.html index 2651f781..c9135f89 100644 --- a/exercises/06-Practicing-Rules/index.html +++ b/exercises/06-Practicing-Rules/index.html @@ -12,18 +12,18 @@
- We are going to explain in this pharagraph the 3 most comon signs that you should look into yourself to recognize if you are learning. + We are going to explain in this paragraph the 3 most common signs that you should look into yourself to recognize if you are learning.
-
+
If you can't sleep, what better than watching videos of cats? From eee9b2734ffb24049bd05b882c0663722f640405 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:03:26 +0200 Subject: [PATCH 091/294] Update README.md --- exercises/06-Practicing-Rules/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/06-Practicing-Rules/README.md b/exercises/06-Practicing-Rules/README.md index 409dabd7..c63091d4 100644 --- a/exercises/06-Practicing-Rules/README.md +++ b/exercises/06-Practicing-Rules/README.md @@ -16,7 +16,7 @@ tutorial: "https://www.youtube.com/watch?v=4wguurrl-lU" 5. Add a `left padding` to the whole document of `20px` to make it easier to read. -6. Add a white `semi-transparent background (0.2)` to the `first paragraph` to make it easier to read (you have to use `rgba` for that) and type "3 reasons you know you are learning". +6. Add a `white semi-transparent background (0.2)` to the first `p` to make it easier to read (you have to use `rgba` for that). 7. Then apply a `padding` of `5px` to all sides of that paragraph. From 2a451389e0c79f870860c285e3edffbc35f81b8f Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:08:17 +0200 Subject: [PATCH 092/294] Update README.md --- exercises/06-Practicing-Rules/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/06-Practicing-Rules/README.md b/exercises/06-Practicing-Rules/README.md index c63091d4..1674968f 100644 --- a/exercises/06-Practicing-Rules/README.md +++ b/exercises/06-Practicing-Rules/README.md @@ -16,7 +16,7 @@ tutorial: "https://www.youtube.com/watch?v=4wguurrl-lU" 5. Add a `left padding` to the whole document of `20px` to make it easier to read. -6. Add a `white semi-transparent background (0.2)` to the first `p` to make it easier to read (you have to use `rgba` for that). +6. Add a white `semi-transparent background (0.2)` to the `first paragraph` to make it easier to read (you have to use `rgba` for that). 7. Then apply a `padding` of `5px` to all sides of that paragraph. From f0ca1f718c28ce90dff2173b42325d790d8aa966 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:10:24 +0200 Subject: [PATCH 093/294] Update README.es.md --- exercises/06-Practicing-Rules/README.es.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/06-Practicing-Rules/README.es.md b/exercises/06-Practicing-Rules/README.es.md index 9cf27efa..101596bb 100644 --- a/exercises/06-Practicing-Rules/README.es.md +++ b/exercises/06-Practicing-Rules/README.es.md @@ -8,15 +8,15 @@ 3. Cambia el color del `h1` a rojo(`red`). -4. Haz todos los `h2` tengan subrayado. +4. Haz que todos los `h2` tengan subrayado. 5. Agrega un `left padding` a todo el documento de `20px` para que sea más fácil de leer. -6. Agrega un fondo blanco semitransparente (`semi-transparent background 0.2`) al primer párrafo de "3 reasons you know you are learning" para que sea más fácil de leer (tienes que usar `rgba` para esto). +6. Agrega un fondo blanco semitransparente (`semi-transparent background (0.2)`) al primer párrafo para que sea más fácil de leer (tienes que usar `rgba` para esto). 7. Luego aplica un `padding` de `5px` a todos los lados de ese párrafo. -8. Cambia el color del `anchor` "hover" a verde (`green`) y elimina el subrayado (tienes que colocar el anchor para probarlo). +8. Cambia el color del `anchor` "hover" a verde (`green`) y elimina el subrayado (tienes que pasar el cursor encima del anchor para probarlo). ## El resultado debería ser algo como esto: From 199feb401f9013c31aa63c64caa8f91dd82c9b93 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:14:29 +0200 Subject: [PATCH 094/294] Update tests.js --- exercises/06-Practicing-Rules/tests.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/exercises/06-Practicing-Rules/tests.js b/exercises/06-Practicing-Rules/tests.js index a348b847..d9fd4156 100644 --- a/exercises/06-Practicing-Rules/tests.js +++ b/exercises/06-Practicing-Rules/tests.js @@ -11,7 +11,7 @@ describe("All the styles should be applied", () => { let link = document.querySelector("link") let title = document.querySelector('title') - test("the background should match", () => { + test("The background should match", () => { document.querySelector( "head" ).innerHTML = ``; @@ -21,7 +21,7 @@ describe("All the styles should be applied", () => { `url(../../.learn/assets/background-vertical.jpg?raw=true) repeat-y` ); }); - test("the font-family should be 'Times New Roman'", () => { + test("The font-family should be 'Times New Roman'", () => { document.querySelector( "head" ).innerHTML = ``; @@ -29,7 +29,7 @@ describe("All the styles should be applied", () => { let styles = window.getComputedStyle(body); expect(styles["font-family"].toLowerCase()).toBe("\"times new roman\""); }); - test("the padding-left should be '20px'", () => { + test("The padding-left should be '20px'", () => { document.querySelector( "head" ).innerHTML = ``; @@ -37,7 +37,7 @@ describe("All the styles should be applied", () => { let styles = window.getComputedStyle(body); expect(styles["padding-left"]).toBe("20px"); }); - test("the font-family in the H1 Tag should be 'Courier'", () => { + test("The font-family in the h1 tag should be 'Courier'", () => { document.querySelector( "head" ).innerHTML = ``; @@ -46,7 +46,7 @@ describe("All the styles should be applied", () => { // get computed styles of any element you like expect(h1TagStyles["font-family"].toLowerCase()).toBe("\"courier\""); }); - test("the color in the H1 Tag should be 'red'", () => { + test("The color in the h1 tag should be 'red'", () => { document.querySelector( "head" ).innerHTML = ``; @@ -55,7 +55,7 @@ describe("All the styles should be applied", () => { // get computed styles of any element you like expect(h1TagStyles["color"]).toBe("red"); }); - test("the text-decoration in the H2 Tag should be 'underline'", () => { + test("the text-decoration in the h2 tag should be 'underline'", () => { document.querySelector( "head" ).innerHTML = ``; @@ -64,7 +64,7 @@ describe("All the styles should be applied", () => { let h2TagStyles = window.getComputedStyle(h2Tag); expect(h2TagStyles["text-decoration"]).toBe("underline"); }); - test("the padding in the #id1 Tag should be '5px'", () => { + test("The padding in the #id1 tag should be '5px'", () => { document.querySelector( "head" ).innerHTML = ``; @@ -74,7 +74,7 @@ describe("All the styles should be applied", () => { expect(idTagStyles["padding"]).toBe("5px"); }); - test("The a hover underline should be removed", () => { + test("The a:hover underline should be removed", () => { document.querySelector( "head" ).innerHTML = ``; @@ -88,7 +88,7 @@ describe("All the styles should be applied", () => { expect(orangeHoverSelector).toBe("none"); }); - test("The a hover color should be green", () => { + test("The a:hover color should be green", () => { document.querySelector( "head" ).innerHTML = ``; From 35f4edfdfc506ca90d0af21a90040ec7d2f3676c Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:37:05 +0200 Subject: [PATCH 095/294] Update README.md --- exercises/07-Very-Specific-Rules/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/07-Very-Specific-Rules/README.md b/exercises/07-Very-Specific-Rules/README.md index 3cba95e9..dc922179 100644 --- a/exercises/07-Very-Specific-Rules/README.md +++ b/exercises/07-Very-Specific-Rules/README.md @@ -19,8 +19,8 @@ In this exercise, you can add your code only above the **READ ONLY BLOCK** of th  ->Important: You should **NOT** modify the index.html file +>Important: You should **NOT** modify the index.html file. ## :bulb: Hint: -1. The `!important` attribute helps to override over other attributes. +1. The `!important` attribute helps to override other attributes. From 0b2d547111c0ae64205af66706caadff3a4b3818 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:38:48 +0200 Subject: [PATCH 096/294] Update styles.css --- exercises/07-Very-Specific-Rules/styles.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/07-Very-Specific-Rules/styles.css b/exercises/07-Very-Specific-Rules/styles.css index 300d0677..70e1923d 100644 --- a/exercises/07-Very-Specific-Rules/styles.css +++ b/exercises/07-Very-Specific-Rules/styles.css @@ -1,8 +1,8 @@ /** Insert your code here **/ -/*********** READ ONLY BLOCK ****** +/********** READ ONLY BLOCK ****** You CANNOT UPDATE anything from here on, -only add lines of code on top of this lines +only add lines of code on top of these lines **/ body { From 1af47842ca50b31ae31725af254a0e9241605578 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:39:09 +0200 Subject: [PATCH 097/294] Update styles.css --- exercises/07-Very-Specific-Rules/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/07-Very-Specific-Rules/styles.css b/exercises/07-Very-Specific-Rules/styles.css index 70e1923d..164b694b 100644 --- a/exercises/07-Very-Specific-Rules/styles.css +++ b/exercises/07-Very-Specific-Rules/styles.css @@ -1,6 +1,6 @@ /** Insert your code here **/ -/********** READ ONLY BLOCK ****** +/********** READ-ONLY BLOCK ****** You CANNOT UPDATE anything from here on, only add lines of code on top of these lines **/ From f60fde3ad7c036a71cefe145dbbe4e87ade403f4 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:40:29 +0200 Subject: [PATCH 098/294] Update solution.hide.css --- exercises/07-Very-Specific-Rules/solution.hide.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/07-Very-Specific-Rules/solution.hide.css b/exercises/07-Very-Specific-Rules/solution.hide.css index 55fb5ff4..232aa480 100644 --- a/exercises/07-Very-Specific-Rules/solution.hide.css +++ b/exercises/07-Very-Specific-Rules/solution.hide.css @@ -12,9 +12,9 @@ tr:nth-child(odd) { background: yellow; } -/*********** READ ONLY BLOCK ****** +/*********** READ-ONLY BLOCK ****** You CANNOT UPDATE anything from here on, -only add lines of code on top of this lines +only add lines of code on top of these lines **/ body { From c83a96ed8e4e6d0054883e9d06fbeb4fb5d6d743 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:44:29 +0200 Subject: [PATCH 099/294] Update index.html --- exercises/07-Very-Specific-Rules/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/07-Very-Specific-Rules/index.html b/exercises/07-Very-Specific-Rules/index.html index 9c691446..301d8f1d 100644 --- a/exercises/07-Very-Specific-Rules/index.html +++ b/exercises/07-Very-Specific-Rules/index.html @@ -10,18 +10,18 @@
- We are going to explain in this pharagraph the 3 most comon signs that you should look into yourself to recognize if you are learning. + We are going to explain in this paragraph the 3 most common signs that you should look into yourself to recognize if you are learning.
If you can't sleep, what better than watching videos of cats?
From 4cb7d59020c03be3ae6c4945bf39e77e7aab6055 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 04:00:16 +0200
Subject: [PATCH 100/294] Update README.md
---
exercises/07-Very-Specific-Rules/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/07-Very-Specific-Rules/README.md b/exercises/07-Very-Specific-Rules/README.md
index dc922179..ece42bb9 100644
--- a/exercises/07-Very-Specific-Rules/README.md
+++ b/exercises/07-Very-Specific-Rules/README.md
@@ -6,7 +6,7 @@ tutorial: "https://www.youtube.com/watch?v=2YkLDRZFk40"
# **Important:**
-In this exercise, you can add your code only above the **READ ONLY BLOCK** of the code, you can add as many lines as you want, but always above.
+In this exercise, you can add your code only above the **READ-ONLY BLOCK** of the code, you can add as many lines as you want, but always above.
## 📝 Instructions:
From 451b73a78255d8e67fba73c5cb8d306bc3fba79b Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 04:03:47 +0200
Subject: [PATCH 101/294] Update README.es.md
---
exercises/07-Very-Specific-Rules/README.es.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/exercises/07-Very-Specific-Rules/README.es.md b/exercises/07-Very-Specific-Rules/README.es.md
index 7ec14ada..b3ab50f4 100644
--- a/exercises/07-Very-Specific-Rules/README.es.md
+++ b/exercises/07-Very-Specific-Rules/README.es.md
@@ -1,21 +1,21 @@
-# `07` Reglas Muy Especificas
+# `07` Reglas Muy Específicas
## **Importante:**
-En este ejercicio, puedes agregar tu código solo arriba del **READ ONLY BLOCK** del código, puedes agregar tantas líneas como desees, pero siempre arriba.
+En este ejercicio, puedes agregar tu código solo arriba del **READ-ONLY BLOCK** del código, puedes agregar tantas líneas como desees, pero siempre arriba.
## 📝 Instrucciones:
-1. Establece el color de texto `ul` a rojo (`red`) (anula los conflictos siendo más específico).
+1. Establece el color de texto `ul li` a rojo (`red`) (anula los conflictos siendo más específico).
2. Establece el color de fondo (`background-color`) del segundo `li` del `ol` a verde (`green`) (no uses el selector #id ni el .class).
-3. Haz que las filas impares de las tablas tengan fondo amarillo usando `tr:nth-child`.
+3. Haz que las filas impares de la tabla tengan fondo amarillo usando `tr:nth-child`.

>Importante: **NO** debes modificar el archivo index.html
-## :bulb: Pista:
+## 💡 Pista:
-1. El atributo `!important` ayuda a sobreescribir stilos.
\ No newline at end of file
+1. El atributo `!important` ayuda a sobreescribir estilos.
From 5f220ca22434de7cb23b601a4c7a280639d8bfcf Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 17:06:18 +0200
Subject: [PATCH 102/294] Update README.md
---
exercises/08-Rounded-Image/README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/exercises/08-Rounded-Image/README.md b/exercises/08-Rounded-Image/README.md
index 7cedf6b1..c168c000 100644
--- a/exercises/08-Rounded-Image/README.md
+++ b/exercises/08-Rounded-Image/README.md
@@ -2,7 +2,7 @@
A lot of websites use rounded profile images, a technique that really makes a website more beautiful!
-The obvious way create a rounded profile picture is to create an image tag and apply `border-radius:100%`. The problem with this approach, is that it only works for squared pictures... Profile pictures with different height and width will not look like a circle, they will look like ovals:
+The obvious way to create a rounded profile picture is to create an image tag and apply `border-radius:100%`. The problem with this approach is that it only works for squared pictures... Profile pictures with different height and width will not look like a circle, they will look like ovals:

@@ -10,7 +10,7 @@ The obvious way create a rounded profile picture is to create an image tag and a
1. Use `border-radius`.
-2. In this case, in addition to `border-radius`, you will have to use the `object-fit` css property, [here is an explanation](https://www.loom.com/share/15186e456dfd4741887997af40325721).
+2. In this case, in addition to `border-radius`, you will have to use the `object-fit` CSS property, [here is an explanation](https://www.loom.com/share/15186e456dfd4741887997af40325721).
## 💡 Hint:
@@ -19,4 +19,4 @@ The obvious way create a rounded profile picture is to create an image tag and a
+ You can also read [this great article about object fit](https://css-tricks.com/on-object-fit-and-object-position/)
-+ Additionally you can [read the documentation on object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) and [the documentation on object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)
\ No newline at end of file
++ Additionally you can [read the documentation on object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) and [the documentation on object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)
From 846c7f7c06b3b76fa1be360bd2818c424f4af05c Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 17:14:08 +0200
Subject: [PATCH 103/294] Update README.es.md
---
exercises/08-Rounded-Image/README.es.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/exercises/08-Rounded-Image/README.es.md b/exercises/08-Rounded-Image/README.es.md
index 3e7e4c25..a6d6c283 100644
--- a/exercises/08-Rounded-Image/README.es.md
+++ b/exercises/08-Rounded-Image/README.es.md
@@ -1,10 +1,10 @@
# `08` Imagen Redondeada
-Muchos sitios web usan imágenes de perfil redondeadas ¡una técnica que realmente hace que un sitio web sea más hermoso!
+Muchos sitios web usan imágenes de perfil redondeadas, ¡una técnica que realmente hace que un sitio web sea más hermoso!
La forma obvia de crear una imagen de perfil redondeada es crear una etiqueta de imagen y aplicar un `border-radius: 100%`.
-El problema con este enfoque es que solo funciona para imágenes cuadradas... Las imágenes de perfil generalmente tienen diferente altura y ancho no se verán como un círculo, se verán como óvalos:
+El problema con este enfoque es que solo funciona para imágenes cuadradas... Las imágenes de perfil generalmente tienen diferente altura y ancho, no se verán como un círculo, se verán como óvalos:

@@ -12,12 +12,12 @@ El problema con este enfoque es que solo funciona para imágenes cuadradas... La
1. Usa `border-radius`.
-2. Adicionalmente a `border-radius`, tenemos que también utilizar la propiedad `object-fit`, [aqui hay una explicación](https://www.loom.com/share/15186e456dfd4741887997af40325721).
+2. Además de `border-radius`, tenemos que utilizar también la propiedad `object-fit`, [aquí hay una explicación](https://www.loom.com/share/15186e456dfd4741887997af40325721).
## 💡 Pista:
-+ Si la imagen es más grande que su contenedor y quieres centrarla o enfocarte en una zona en particular puedes utilizar `object-position`.
++ Si la imagen es más grande que su contenedor y quieres centrarla o enfocarte en una zona en particular, puedes utilizar `object-position`.
-+ En este articulo puedes leer más [sobre la propiedad object fit](https://css-tricks.com/on-object-fit-and-object-position/)
++ En este artículo puedes leer más [sobre la propiedad object fit](https://css-tricks.com/on-object-fit-and-object-position/)
+ Adicionalmente, puedes [leer la documentación de object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) y [la documentación de object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)
From ef6879b6b5b0b126c38d4d7dcfeaa159713eff64 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 17:14:46 +0200
Subject: [PATCH 104/294] Update README.es.md
---
exercises/08-Rounded-Image/README.es.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/08-Rounded-Image/README.es.md b/exercises/08-Rounded-Image/README.es.md
index a6d6c283..31f54e0a 100644
--- a/exercises/08-Rounded-Image/README.es.md
+++ b/exercises/08-Rounded-Image/README.es.md
@@ -18,6 +18,6 @@ El problema con este enfoque es que solo funciona para imágenes cuadradas... La
+ Si la imagen es más grande que su contenedor y quieres centrarla o enfocarte en una zona en particular, puedes utilizar `object-position`.
-+ En este artículo puedes leer más [sobre la propiedad object fit](https://css-tricks.com/on-object-fit-and-object-position/)
++ En este artículo puedes leer más [sobre la propiedad object fit](https://css-tricks.com/on-object-fit-and-object-position/).
-+ Adicionalmente, puedes [leer la documentación de object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) y [la documentación de object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)
++ Adicionalmente, puedes [leer la documentación de object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) y [la documentación de object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
From bda40ba4f68bd9060b4636778c8600c6f3ece74d Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 17:15:05 +0200
Subject: [PATCH 105/294] Update README.md
---
exercises/08-Rounded-Image/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/08-Rounded-Image/README.md b/exercises/08-Rounded-Image/README.md
index c168c000..46631553 100644
--- a/exercises/08-Rounded-Image/README.md
+++ b/exercises/08-Rounded-Image/README.md
@@ -17,6 +17,6 @@ The obvious way to create a rounded profile picture is to create an image tag an
+ If the image ends up being bigger than its container (or with different proportions) you can adjust the `object-position` to choose what part of the image you want to display inside of the circle.
-+ You can also read [this great article about object fit](https://css-tricks.com/on-object-fit-and-object-position/)
++ You can also read [this great article about object fit](https://css-tricks.com/on-object-fit-and-object-position/).
-+ Additionally you can [read the documentation on object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) and [the documentation on object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)
++ Additionally you can [read the documentation on object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) and [the documentation on object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
From 4f57d99edf892d894c6334bf63e4de1f82c5c685 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 17:22:29 +0200
Subject: [PATCH 106/294] Update tests.js
---
exercises/08-Rounded-Image/tests.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/exercises/08-Rounded-Image/tests.js b/exercises/08-Rounded-Image/tests.js
index 70c5b643..9a0f3614 100644
--- a/exercises/08-Rounded-Image/tests.js
+++ b/exercises/08-Rounded-Image/tests.js
@@ -13,11 +13,11 @@ describe("All the styles should be applied", () => {
const img = document.querySelector(".rounded")
- test("the img tag should exist", () => {
+ test("The img tag should exist", () => {
expect(img).toBeTruthy();
})
- test("the width in the img Tag should be equal to its height and vice versa", () => {
+ test("The width of the img tag should be equal to its height and vice versa", () => {
document.querySelector(
"head"
).innerHTML = ``;
@@ -42,7 +42,7 @@ describe("All the styles should be applied", () => {
expect(height).toBe(width);
});
- test("the object-fit value of the img Tag should be 'cover'", () => {
+ test("The object-fit value of the img tag should be 'cover'", () => {
document.querySelector(
"head"
).innerHTML = ``;
@@ -51,7 +51,7 @@ describe("All the styles should be applied", () => {
expect(imgStyle["object-fit"]).toBe("cover");
});
- test("the object-position value of the img Tag should be 'top'", () => {
+ test("The object-position value of the img tag should be 'top'", () => {
document.querySelector(
"head"
).innerHTML = ``;
From efbfceabff62aad8777af3b886584a56629fd186 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 17:47:48 +0200
Subject: [PATCH 107/294] Update README.md
---
exercises/09-Anchor-Styles/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/09-Anchor-Styles/README.md b/exercises/09-Anchor-Styles/README.md
index 3ce04f9a..a4b23419 100644
--- a/exercises/09-Anchor-Styles/README.md
+++ b/exercises/09-Anchor-Styles/README.md
@@ -4,11 +4,11 @@ People like to feel that they are clicking on something, a great approach to acc

-You can control what css rules apply to each state of an anchor by using the `:hover` (for mouse hover) or `:active` (for mouse pressing) selectors, example:
+You can control what CSS rules apply to each state of an anchor by using the `:hover` (for mouse hover) or `:active` (for mouse pressing) selectors, example:
```css
a:active {
- /* here you can specify whatever css rule that applies
+ /* here you can specify whatever CSS rule that applies
to the anchor while being 'pressed' */
}
```
From d722beb901abb84bc488c0b64bdd3e673e4c83c8 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 17:54:00 +0200
Subject: [PATCH 108/294] Update README.es.md
---
exercises/09-Anchor-Styles/README.es.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/09-Anchor-Styles/README.es.md b/exercises/09-Anchor-Styles/README.es.md
index 0164b06d..f700cee0 100644
--- a/exercises/09-Anchor-Styles/README.es.md
+++ b/exercises/09-Anchor-Styles/README.es.md
@@ -4,11 +4,11 @@ A las personas les gusta sentir que están haciendo clic en algo, una manera de

-Puedes controlar qué reglas css se aplican a cada estado de un `anchor` utilizando los selectores: `:hover` (para el mouse) o `active` (para presionar el mouse), por ejemplo:
+Puedes controlar qué reglas CSS se aplican a cada estado de un `anchor` utilizando los selectores: `:hover` (cuando pasas por encima con el mouse) o `active` (cuando haces clic), por ejemplo:
```css
a:active {
- /* aquí puedes especificar cualquier regla de css que aplique al anchor mientras se presiona' */
+ /* aquí puedes especificar cualquier regla de CSS que aplique al anchor mientras se presiona' */
}
```
From e99823bdd40bbd11c049b6a43f15ebd33c90274e Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 17:57:45 +0200
Subject: [PATCH 109/294] Update tests.js
---
exercises/09-Anchor-Styles/tests.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/09-Anchor-Styles/tests.js b/exercises/09-Anchor-Styles/tests.js
index 73192e4f..724de97d 100644
--- a/exercises/09-Anchor-Styles/tests.js
+++ b/exercises/09-Anchor-Styles/tests.js
@@ -20,14 +20,14 @@ describe("All the styles should be applied", () => {
expect(cssArray).toBe(".threeDimension");
})
- test("the 'a' tag in the index.html should not be deleted", () => {
+ test("The 'a' tag in the index.html should not be deleted", () => {
// we can read from the source code
// console.log(html.toString());
expect(html.toString().indexOf(` -1).toBeTruthy();
});
- test("The border-color rule for the 'threeDimension active ' property should match the instruction color", () => {
+ test("The border-color rule for the 'a.threeDimension:active' selector should match the instruction color", () => {
// get computed styles of any element you like
// let cssArray=document.styleSheets[0].cssRules;
document.querySelector(
From 9898aa6f8711a2a86d508f6f81949df97a1aa325 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 18:09:39 +0200
Subject: [PATCH 110/294] Update README.md
---
exercises/10-Your-Own-Font/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/10-Your-Own-Font/README.md b/exercises/10-Your-Own-Font/README.md
index 63c24dc3..bdc5c435 100644
--- a/exercises/10-Your-Own-Font/README.md
+++ b/exercises/10-Your-Own-Font/README.md
@@ -1,6 +1,6 @@
# `10` Your Own Font
-Yo canfind Google Fonts here: https://fonts.google.com
+You can find Google Fonts here: https://fonts.google.com
Pick your favorite one, and then use it by linking your website with the URL in which the font is stored. You have to do that in the `` tag of the HTML document like this:
From d853b26a953b4638f183000b3446b93a741526c9 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 18:10:30 +0200
Subject: [PATCH 111/294] Update README.md
---
exercises/10-Your-Own-Font/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/10-Your-Own-Font/README.md b/exercises/10-Your-Own-Font/README.md
index bdc5c435..1c0f04e1 100644
--- a/exercises/10-Your-Own-Font/README.md
+++ b/exercises/10-Your-Own-Font/README.md
@@ -8,7 +8,7 @@ Pick your favorite one, and then use it by linking your website with the URL in
```
-After your font is linked you need to assign the `font-family` CSS rule to whatever you want to apply the font, for example an ` tag", ()=>{
expect(p).toBeTruthy();
})
-test("The p tag color should be blue", ()=>{
+test("The tag color should be blue", ()=>{
let styles = window.getComputedStyle(p);
expect(styles["color"]).toBe("blue");
});
-test("The p tag should not contain any inline style", ()=>{
+test("The tag should not contain any inline style", ()=>{
let emptyBodyInlineStyle = {};
expect(p.style._values).toEqual(emptyBodyInlineStyle);
-});
\ No newline at end of file
+});
From 9ecb581595a0dc757ae532212cd4c03b858b3c03 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:31:03 +0200
Subject: [PATCH 157/294] Update tests.js
---
exercises/01.2-Your-First-Style/tests.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/01.2-Your-First-Style/tests.js b/exercises/01.2-Your-First-Style/tests.js
index 0eabdf65..32bf609b 100644
--- a/exercises/01.2-Your-First-Style/tests.js
+++ b/exercises/01.2-Your-First-Style/tests.js
@@ -13,7 +13,7 @@ describe("All the styles should be applied", ()=>{
expect(styles["color"]).toBe("yellow");
});
- test("The body tag should not contain any inline style", ()=>{
+ test("The tags should have a blue background", () => {
const body = document.querySelector("body")
const p = document.querySelectorAll("p");
- test("You should not change the existing head tag elements", () => {
+ test("You should not change the existing tags", () => {
expect(p.length).toBe(2)
});
- test("Both p tags should have a class name 'b-blue'", () => {
+ test("Both tags should have a class name 'b-blue'", () => {
p.forEach(e=>{
let eClass = e.getAttribute("class");
expect(eClass).toBe("b-blue")
From f5f4148debd506029d51d8557af2103e1fdb09c6 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:38:13 +0200
Subject: [PATCH 162/294] Update tests.js
---
exercises/04.1-Combined-Rules/tests.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/04.1-Combined-Rules/tests.js b/exercises/04.1-Combined-Rules/tests.js
index ab8cc62f..e325ce5f 100644
--- a/exercises/04.1-Combined-Rules/tests.js
+++ b/exercises/04.1-Combined-Rules/tests.js
@@ -11,7 +11,7 @@ describe("All the styles should be applied", ()=> {
const link = document.querySelector("link");
const title = document.querySelector('title');
- test("The body tag should not contain any inline style", ()=> {
+ test("The
+ Coding is a basic literacy in the digital age, and it is important for kids to understand and be able to work with and understand the technology
+ around them. Having children learn to code at a young age prepares them for the future. Coding helps children with communication, creativity,
+ math, writing, and confidence.
+
Coding is a basic literacy in the digital age, and it is important for kids to understand and be able to work with and understand the technology
- around them. Having children learn coding at a young age prepares them for the future. Coding helps children with communication, creativity,
+ around them. Having children learn to code at a young age prepares them for the future. Coding helps children with communication, creativity,
math, writing, and confidence.
`.
+2. Por favor aplica la clase a ambas etiquetas HTML ` `.
diff --git a/exercises/04-Class-Selector/README.md b/exercises/05-class-selector/README.md
similarity index 79%
rename from exercises/04-Class-Selector/README.md
rename to exercises/05-class-selector/README.md
index 0c344e29..eea336a9 100644
--- a/exercises/04-Class-Selector/README.md
+++ b/exercises/05-class-selector/README.md
@@ -2,7 +2,7 @@
tutorial: "https://www.youtube.com/watch?v=moLgdg7x84U"
---
-# `04` Class Selector
+# `05` Class Selector
There are many ways to select HTML elements to apply styles to them, so far we have only used the `tag` selector, so let's talk about the `.class` selector:
@@ -22,8 +22,8 @@ Use the class property of the HTML element to select it. Styling rules will appl
## 📝 Instructions:
-Right now there is a class selected on the CSS that is called `b-blue`.
+1. Right now there is a class selected on the CSS that is called `b-blue`.
-Please apply that class to both of the HTML ` ` tags.
+2. Please apply that class to both of the HTML ` ` tags.
diff --git a/exercises/04-Class-Selector/index.html b/exercises/05-class-selector/index.html
similarity index 82%
rename from exercises/04-Class-Selector/index.html
rename to exercises/05-class-selector/index.html
index 45709afb..03662721 100644
--- a/exercises/04-Class-Selector/index.html
+++ b/exercises/05-class-selector/index.html
@@ -2,7 +2,7 @@
tags should have a blue background", () => {
expect(meta).toBe(null)
let title = head.querySelector('title').innerHTML
- expect(title).toBe('04 Class selector')
+ expect(title).toBe('05 Class selector')
});
test("The
If you can't sleep, what's better than watching videos of cats?
- click here
+ click here
If you can't sleep, what better than watching videos of cats?
- click here
+ click here
`.
+After your font is linked, you need to assign the `font-family` CSS rule to whatever you want to apply the font, for example an `
`.
## 📝 Instructions:
From b274d39676c2a39dbaa50664ab1a58651b36da04 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 5 Apr 2023 18:21:46 +0200
Subject: [PATCH 112/294] Update solution.hide.html
---
exercises/10-Your-Own-Font/solution.hide.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/10-Your-Own-Font/solution.hide.html b/exercises/10-Your-Own-Font/solution.hide.html
index d1547a63..eeb1c059 100644
--- a/exercises/10-Your-Own-Font/solution.hide.html
+++ b/exercises/10-Your-Own-Font/solution.hide.html
@@ -3,12 +3,12 @@
-
+
-
+
tag should be 'cover'", () => {
document.querySelector(
"head"
).innerHTML = ``;
@@ -51,7 +51,7 @@ describe("All the styles should be applied", () => {
expect(imgStyle["object-fit"]).toBe("cover");
});
- test("The object-position value of the img tag should be 'top'", () => {
+ test("The object-position value of the
tag should be 'top'", () => {
document.querySelector(
"head"
).innerHTML = ``;
@@ -60,7 +60,7 @@ describe("All the styles should be applied", () => {
expect(imgStyle["object-position"]).toBe("top");
});
- test("You should not change the existing head tag elements", () => {
+ test("You should not change the existing tag elements", () => {
let head = document.querySelector('head')
expect(head).toBeTruthy()
From 8faa4093e4d4cfd8525ad4ed6a889b40ea62e5b3 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 17:54:33 +0200
Subject: [PATCH 148/294] Update README.es.md
---
exercises/08-Rounded-Image/README.es.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/exercises/08-Rounded-Image/README.es.md b/exercises/08-Rounded-Image/README.es.md
index 31f54e0a..a1b3d8d9 100644
--- a/exercises/08-Rounded-Image/README.es.md
+++ b/exercises/08-Rounded-Image/README.es.md
@@ -12,7 +12,9 @@ El problema con este enfoque es que solo funciona para imágenes cuadradas... La
1. Usa `border-radius`.
-2. Además de `border-radius`, tenemos que utilizar también la propiedad `object-fit`, [aquí hay una explicación](https://www.loom.com/share/15186e456dfd4741887997af40325721).
+2. Usa las propiedades `width` y `height` para hacer que la imagen sea cuadrada.
+
+3. Además de `border-radius`, tenemos que utilizar también la propiedad `object-fit`, [aquí hay una explicación](https://www.loom.com/share/15186e456dfd4741887997af40325721).
## 💡 Pista:
From 4b9074972f8ff1dc00fd44d1395e84def032132b Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 17:57:21 +0200
Subject: [PATCH 149/294] Update README.md
---
exercises/08-Rounded-Image/README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/exercises/08-Rounded-Image/README.md b/exercises/08-Rounded-Image/README.md
index 46631553..f3074a62 100644
--- a/exercises/08-Rounded-Image/README.md
+++ b/exercises/08-Rounded-Image/README.md
@@ -10,7 +10,9 @@ The obvious way to create a rounded profile picture is to create an image tag an
1. Use `border-radius`.
-2. In this case, in addition to `border-radius`, you will have to use the `object-fit` CSS property, [here is an explanation](https://www.loom.com/share/15186e456dfd4741887997af40325721).
+2. Use the properties `width` and `height` to make the image square shaped.
+
+3. In this case, in addition to `border-radius`, you will have to use the `object-fit` CSS property, [here is an explanation](https://www.loom.com/share/15186e456dfd4741887997af40325721).
## 💡 Hint:
From 4a39434ee6fe5d421aef6ad10cc95bb3e9c6e7a2 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:02:49 +0200
Subject: [PATCH 150/294] Update test.js
---
exercises/04.3-id-Selector/test.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/exercises/04.3-id-Selector/test.js b/exercises/04.3-id-Selector/test.js
index adc3f260..ed2b823e 100644
--- a/exercises/04.3-id-Selector/test.js
+++ b/exercises/04.3-id-Selector/test.js
@@ -8,24 +8,24 @@ jest.dontMock('fs');
const span = document.querySelector("span");
const link = document.querySelector("link");
-test("There should be a span tag", () => {
+test("There should be a tag", () => {
expect(span).toBeTruthy()
});
-test("The span tag should have the id 'button1'", () => {
+test("The tag should have the id 'button1'", () => {
expect(span).toBeTruthy();
let id = span.id
expect(id).toBeTruthy();
expect(id).toBe('button1');
});
-test("The span tag should not contain any inline style", () => {
+test("The tag should not contain any inline style", () => {
let emptyBodyInlineStyle = {};
expect(span).toBeTruthy()
expect(span.style._values).toEqual(emptyBodyInlineStyle);
});
-test("You should not change the existing head tag elements", () => {
+test("You should not change the existing tag elements", () => {
let head = document.querySelector('head');
expect(head).toBeTruthy();
From 7810dfeab3cccd458eccdfb087947e4a169a63ef Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:03:53 +0200
Subject: [PATCH 151/294] Update tests.js
---
exercises/05-Specificity/tests.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/05-Specificity/tests.js b/exercises/05-Specificity/tests.js
index f3f8b814..a09aa84a 100644
--- a/exercises/05-Specificity/tests.js
+++ b/exercises/05-Specificity/tests.js
@@ -8,7 +8,7 @@ jest.dontMock('fs');
describe("All the styles should be applied", function () {
- test("You should not change the existing head tag elements", function () {
+ test("You should not change the existing tag elements", function () {
let head = document.querySelector('head')
expect(head).toBeTruthy()
From c8c602e1f84aafa675c5b34660233ed132b94d32 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:06:21 +0200
Subject: [PATCH 152/294] Update tests.js
---
exercises/06-Practicing-Rules/tests.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/exercises/06-Practicing-Rules/tests.js b/exercises/06-Practicing-Rules/tests.js
index d9fd4156..e691255c 100644
--- a/exercises/06-Practicing-Rules/tests.js
+++ b/exercises/06-Practicing-Rules/tests.js
@@ -37,7 +37,7 @@ describe("All the styles should be applied", () => {
let styles = window.getComputedStyle(body);
expect(styles["padding-left"]).toBe("20px");
});
- test("The font-family in the h1 tag should be 'Courier'", () => {
+ test("The font-family in the
tag should be 'Courier'", () => {
document.querySelector(
"head"
).innerHTML = ``;
@@ -46,7 +46,7 @@ describe("All the styles should be applied", () => {
// get computed styles of any element you like
expect(h1TagStyles["font-family"].toLowerCase()).toBe("\"courier\"");
});
- test("The color in the h1 tag should be 'red'", () => {
+ test("The color in the
tag should be 'red'", () => {
document.querySelector(
"head"
).innerHTML = ``;
@@ -55,7 +55,7 @@ describe("All the styles should be applied", () => {
// get computed styles of any element you like
expect(h1TagStyles["color"]).toBe("red");
});
- test("the text-decoration in the h2 tag should be 'underline'", () => {
+ test("the text-decoration in the
tag should be 'underline'", () => {
document.querySelector(
"head"
).innerHTML = ``;
@@ -102,7 +102,7 @@ describe("All the styles should be applied", () => {
}
expect(orangeHoverSelector).toBe('green');
});
- test("You should not change the existing head tag elements", () => {
+ test("You should not change the existing tag elements", () => {
let head = document.querySelector('head')
expect(head).toBeTruthy()
From 31640a5e7e739994d2b9adc2c9948ba9c3594f0a Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:19:39 +0200
Subject: [PATCH 153/294] Update solution.hide.css
---
exercises/09-Anchor-Styles/solution.hide.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/exercises/09-Anchor-Styles/solution.hide.css b/exercises/09-Anchor-Styles/solution.hide.css
index 101d281c..8c12ea5b 100644
--- a/exercises/09-Anchor-Styles/solution.hide.css
+++ b/exercises/09-Anchor-Styles/solution.hide.css
@@ -7,6 +7,7 @@
text-decoration: none;
text-align: center;
color: black;
+ font-size: 22px;
}
a.threeDimension:active {
From 963ebaa133f189b1fb74153b18712a048f109fd6 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:20:19 +0200
Subject: [PATCH 154/294] Update styles.css
---
exercises/09-Anchor-Styles/styles.css | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/exercises/09-Anchor-Styles/styles.css b/exercises/09-Anchor-Styles/styles.css
index 7eaa9bea..895dc3d6 100644
--- a/exercises/09-Anchor-Styles/styles.css
+++ b/exercises/09-Anchor-Styles/styles.css
@@ -8,9 +8,10 @@
text-decoration: none;
text-align: center;
color: black;
+ font-size: 22px;
}
a.threeDimension:active {
/* your code here*/
-}
\ No newline at end of file
+}
From 1a03a658634f9e2c07cabc4c4a1991725578d617 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:23:27 +0200
Subject: [PATCH 155/294] Update tests.js
---
exercises/09-Anchor-Styles/tests.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/09-Anchor-Styles/tests.js b/exercises/09-Anchor-Styles/tests.js
index 724de97d..1dea80c1 100644
--- a/exercises/09-Anchor-Styles/tests.js
+++ b/exercises/09-Anchor-Styles/tests.js
@@ -20,7 +20,7 @@ describe("All the styles should be applied", () => {
expect(cssArray).toBe(".threeDimension");
})
- test("The 'a' tag in the index.html should not be deleted", () => {
+ test("The tag in the index.html should not be deleted", () => {
// we can read from the source code
// console.log(html.toString());
expect(html.toString().indexOf(` -1).toBeTruthy();
@@ -71,7 +71,7 @@ describe("All the styles should be applied", () => {
});
- test("You should not change the existing head tag elements", () => {
+ test("You should not change the existing tag elements", () => {
let head = document.querySelector('head')
expect(head).toBeTruthy()
From e09f4394dc748c58c6cc5e1ee408f7a609cbcef8 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 18:29:37 +0200
Subject: [PATCH 156/294] Update test.js
---
exercises/01.1-The-Style-Tag/test.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/exercises/01.1-The-Style-Tag/test.js b/exercises/01.1-The-Style-Tag/test.js
index a4be505b..0b3c714b 100644
--- a/exercises/01.1-The-Style-Tag/test.js
+++ b/exercises/01.1-The-Style-Tag/test.js
@@ -7,16 +7,16 @@ jest.dontMock('fs');
const p = document.querySelector("p");
-test("There should be a p tag", ()=>{
+test("There should be a
tag should exist", ()=>{
expect(document.querySelector("ul")).toBeTruthy();
});
- test("At least 3 li tags should exist", ()=>{
+ test("At least 3
` headings. They are both `
`, but one is bigger than the other because headings have relative font-sizes by default.
-Since the first `div` has a bigger based `font-size`, then the heading resizes accordingly.
+Since the second `div` has a bigger based `font-size`, then the heading resizes accordingly.
-em: Relative to the current font-size of the parent.
+## In short:
-rem: Relative to the original font-size of the page.
++ em: Relative to the current font-size of the parent.
+
++ rem: Relative to the original font-size of the page.
## 📝 Instructions:
From 0d5ce0eba26edc1ff683df5a1a30ed25c76bfcf6 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 22:52:21 +0200
Subject: [PATCH 165/294] Update README.es.md
---
exercises/12-Relative-Length-EM-REM/README.es.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/exercises/12-Relative-Length-EM-REM/README.es.md b/exercises/12-Relative-Length-EM-REM/README.es.md
index 9603c625..c6d63a40 100644
--- a/exercises/12-Relative-Length-EM-REM/README.es.md
+++ b/exercises/12-Relative-Length-EM-REM/README.es.md
@@ -1,4 +1,4 @@
-# `12` Longitud Relativa em, rem:
+# `12` Longitud Relativa em, rem
Hasta ahora, hemos trabajado con píxeles como unidad de medida, por ejemplo, diciendo que un contenedor o caja tiene `100px` de ancho.
@@ -8,11 +8,13 @@ Hay otros tipos de unidades que no son absolutas, sino relativas. Las usamos cua
En este ejercicio tenemos dos encabezados `
`. Ambos son `
`, pero uno es más grande que el otro porque los encabezados tienen `font-size` relativos por defecto.
-Dado que el primer `div` tiene un `font-size` más grande, el título cambia de tamaño en consecuencia y el `heading` se adapta.
+Dado que el segundo `div` tiene un `font-size` más grande, el título cambia de tamaño en consecuencia y el `heading` se adapta.
-em: Relativo al `font-size` actual del padre.
+## En resumen:
-rem: Relativo al `font-size` original de la página.
++ em: Relativo al `font-size` actual del padre.
+
++ rem: Relativo al `font-size` original de la página.
## 📝 Instrucciones:
From f795a0323e779769b1a8c3ed310ea0b68d515cd4 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 22:56:51 +0200
Subject: [PATCH 166/294] Update tests.js
---
exercises/12-Relative-Length-EM-REM/tests.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/exercises/12-Relative-Length-EM-REM/tests.js b/exercises/12-Relative-Length-EM-REM/tests.js
index f6987b7a..326eb9b0 100644
--- a/exercises/12-Relative-Length-EM-REM/tests.js
+++ b/exercises/12-Relative-Length-EM-REM/tests.js
@@ -10,7 +10,7 @@ describe("All the styles should be applied", ()=>{
const meta = document.querySelector("meta")
const title = document.querySelector('title')
const link = document.querySelector('link')
- test("The H2 Tag should have a font-size: 0.8em", ()=>{
+ test("The
tag should have a font-size: 0.8em", ()=>{
// get computed styles of any element you like
document.querySelector(
"head"
@@ -19,7 +19,7 @@ describe("All the styles should be applied", ()=>{
var styles = window.getComputedStyle(h2Tag);
expect(styles["font-size"]).toBe("0.8em");
});
- test("The H3 Tag should haave a font-size: 0.8rem", ()=>{
+ test("The
tag should have a font-size: 0.8rem", ()=>{
// get computed styles of any element you like
document.querySelector(
"head"
@@ -28,7 +28,7 @@ describe("All the styles should be applied", ()=>{
var styles = window.getComputedStyle(h3Tag);
expect(styles["font-size"]).toBe("0.8rem");
});
- test("You should not change the existing head tag elements", ()=>{
+ test("You should not change the existing tag elements", ()=>{
let head = document.querySelector('head')
expect(head).toBeTruthy()
From b39fc10d4972dc8598270597a2f66d41c144aeee Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 23:19:03 +0200
Subject: [PATCH 167/294] Update README.md
---
exercises/08-Rounded-Image/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/08-Rounded-Image/README.md b/exercises/08-Rounded-Image/README.md
index f3074a62..847293f1 100644
--- a/exercises/08-Rounded-Image/README.md
+++ b/exercises/08-Rounded-Image/README.md
@@ -10,7 +10,7 @@ The obvious way to create a rounded profile picture is to create an image tag an
1. Use `border-radius`.
-2. Use the properties `width` and `height` to make the image square shaped.
+2. Use the properties `width` and `height` to make the image a square shape.
3. In this case, in addition to `border-radius`, you will have to use the `object-fit` CSS property, [here is an explanation](https://www.loom.com/share/15186e456dfd4741887997af40325721).
From b767142ab11a7b292e26c97890112a55801fb8e7 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 23:52:32 +0200
Subject: [PATCH 168/294] Update tests.js
---
exercises/13-Anchor-Like-Button/tests.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/exercises/13-Anchor-Like-Button/tests.js b/exercises/13-Anchor-Like-Button/tests.js
index 587b95d7..cc3370ed 100644
--- a/exercises/13-Anchor-Like-Button/tests.js
+++ b/exercises/13-Anchor-Like-Button/tests.js
@@ -10,7 +10,7 @@ describe("All the styles should be applied", ()=>{
const meta = document.querySelector("meta")
const title = document.querySelector('title')
const link = document.querySelector('link')
- test("the padding should be '10px'", ()=>{
+ test("The padding should be '10px'", ()=>{
document.querySelector(
"head"
@@ -20,7 +20,7 @@ describe("All the styles should be applied", ()=>{
expect(classTagStyles["padding"]).toBe("10px");
});
- test("the border radius should be '4px'", ()=>{
+ test("The border radius should be '4px'", ()=>{
document.querySelector(
"head"
@@ -29,7 +29,7 @@ describe("All the styles should be applied", ()=>{
let classTagStyles = window.getComputedStyle(divTag);
expect(classTagStyles["border-radius"]).toBe("4px");
});
- test("the underline should be removed", ()=>{
+ test("The underline should be removed", ()=>{
document.querySelector(
"head"
@@ -47,7 +47,7 @@ describe("All the styles should be applied", ()=>{
expect(cssArray).toBe(".orange-btn");
}
)
- test("You should not change the existing head tag elements", ()=>{
+ test("You should not change the existing tag elements", ()=>{
let head = document.querySelector('head')
expect(head).toBeTruthy()
From bb33d6fe70666b28b97504184076784495b2266f Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Tue, 11 Apr 2023 23:53:04 +0200
Subject: [PATCH 169/294] Update tests.js
---
exercises/13-Anchor-Like-Button/tests.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/13-Anchor-Like-Button/tests.js b/exercises/13-Anchor-Like-Button/tests.js
index cc3370ed..1006a565 100644
--- a/exercises/13-Anchor-Like-Button/tests.js
+++ b/exercises/13-Anchor-Like-Button/tests.js
@@ -20,7 +20,7 @@ describe("All the styles should be applied", ()=>{
expect(classTagStyles["padding"]).toBe("10px");
});
- test("The border radius should be '4px'", ()=>{
+ test("The border-radius should be '4px'", ()=>{
document.querySelector(
"head"
From 25dd6b6f1d7611c68fb508c7360f32995a463750 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:10:27 +0200
Subject: [PATCH 170/294] Update README.md
---
exercises/13-Anchor-Like-Button/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/13-Anchor-Like-Button/README.md b/exercises/13-Anchor-Like-Button/README.md
index 81ff0d7f..044e37c6 100644
--- a/exercises/13-Anchor-Like-Button/README.md
+++ b/exercises/13-Anchor-Like-Button/README.md
@@ -16,10 +16,10 @@ Anchors are not only used within text- when you are going to use anchors outside
6. Set the color of the text to `white`.
-*To make the button look different when the user hovers over with the mouse, we use the `:hover` selector: http://lmgtfy.com/?q=how+to+use+the+hover*
+*To make the button look different when the user hovers over with the mouse, we use the `:hover` selector: https://www.w3schools.com/cssref/sel_hover.php*
7. Inside of the `:hover` selector change the background of the button to `#cc7a00`.
## Expected result:
-
\ No newline at end of file
+
From 5ede64373ebf2f6a8cd1e48313661b15a9d7d8f1 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:23:08 +0200
Subject: [PATCH 171/294] Update README.es.md
---
exercises/13-Anchor-Like-Button/README.es.md | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/exercises/13-Anchor-Like-Button/README.es.md b/exercises/13-Anchor-Like-Button/README.es.md
index aedf993a..018f6efe 100644
--- a/exercises/13-Anchor-Like-Button/README.es.md
+++ b/exercises/13-Anchor-Like-Button/README.es.md
@@ -1,10 +1,10 @@
-# `13` Enlace (anchor) como botón:
+# `13` Enlace (anchor) como botón
-Los enlaces (`anchors`) no solo se usan dentro del texto: cuando va a usar enlaces (`anchors`) fuera del texto, es mejor hacer que se vean como botones para que sea experiencia más amigable.
+Los enlaces (`anchors`) no solo se usan dentro del texto: cuando usas enlaces (`anchors`) fuera del texto, es mejor hacer que se vean como botones para que la experiencia sea más amigable.
## 📝 Instrucciones:
-Siga estos pasos para que tu enlace (`anchor`) se vea así:
+Sigue estos pasos para que tu enlace (`anchor`) se vea así:
1. Haz que se vea como una caja: establece el `padding` en `10px`.
@@ -12,16 +12,14 @@ Siga estos pasos para que tu enlace (`anchor`) se vea así:
3. El `background` debe ser de color `orange`, y cuando el ratón esté sobre el botón (`:hover`), el `background` debe ser `darkorange`
-4. Encuentra y aplica el color: usa el selector de `color` (color picker) para encontrar el color exacto y aplicárselo al `background`.
+4. Eliminar subrayado: establece `text-decoration` a `none`.
-5. Eliminar subrayado: establece `text-decoration` a `none`.
+5. Establece el color del texto a blanco (`white`)
-6. Establecer el color del texto en blanco (`white`)
++ *Para que el botón se vea diferente cuando el usuario pasa el ratón por encima, usamos el selector `:hover`: https://www.w3schools.com/cssref/sel_hover.php*
-*Para que el botón se vea diferente cuando el usuario pasa el mouse por encima, usamos el selector `:hover`: http://lmgtfy.com/?q=how+to+use+the+hover*
+6. Dentro del selector `:hover` cambia el fondo del botón a `darkorange`.
-7. Dentro del selector `:hover` cambia el fondo del botón a `#cc7a00`.
-
-## Reultado esperado:
+## Resultado esperado:

From ac1ba88137ad8441bd33f593231046168f7dc292 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:26:05 +0200
Subject: [PATCH 172/294] Update README.es.md
---
exercises/13-Anchor-Like-Button/README.es.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/13-Anchor-Like-Button/README.es.md b/exercises/13-Anchor-Like-Button/README.es.md
index 018f6efe..63c1e428 100644
--- a/exercises/13-Anchor-Like-Button/README.es.md
+++ b/exercises/13-Anchor-Like-Button/README.es.md
@@ -1,6 +1,6 @@
# `13` Enlace (anchor) como botón
-Los enlaces (`anchors`) no solo se usan dentro del texto: cuando usas enlaces (`anchors`) fuera del texto, es mejor hacer que se vean como botones para que la experiencia sea más amigable.
+Los enlaces (`anchors`) no solo se usan dentro del texto: cuando usas enlaces (`anchors`) fuera del texto, es mejor hacer que se vean como botones para que la experiencia del usuario sea más amigable.
## 📝 Instrucciones:
From 32f0983ea4371c5e044218d06cdcbac50d92b363 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:30:11 +0200
Subject: [PATCH 173/294] Update README.md
---
exercises/13-Anchor-Like-Button/README.md | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/exercises/13-Anchor-Like-Button/README.md b/exercises/13-Anchor-Like-Button/README.md
index 044e37c6..36cd9112 100644
--- a/exercises/13-Anchor-Like-Button/README.md
+++ b/exercises/13-Anchor-Like-Button/README.md
@@ -1,24 +1,22 @@
# `13` Anchor Like Button
-Anchors are not only used within text- when you are going to use anchors outside text, it is better to make them look like buttons for a more user-friendly experience.
+Anchors are not only used within text: when you are going to use anchors outside text, it is better to make them look like buttons for a more user-friendly experience.
## 📝 Instructions:
-1. Make it look like a box: Set `padding` to `10px`.
+1. Make it look like a box: set `padding` to `10px`.
-2. Rounded borders: Set `border-radius` to `4px`.
+2. Rounded borders: set `border-radius` to `4px`.
3. The background should be `orange` when not hovered, and `darkorange` on hover (`:hover`).
-4. Find and apply the color: Use the color picker to find the color and apply make the background to that color.
+4. Remove underline: Set `text-decoration` to `none`.
-5. Remove underline: Set `text-decoration` to `none`.
+5. Set the color of the text to `white`.
-6. Set the color of the text to `white`.
++ *To make the button look different when the user hovers over with the mouse, we use the `:hover` selector: https://www.w3schools.com/cssref/sel_hover.php*
-*To make the button look different when the user hovers over with the mouse, we use the `:hover` selector: https://www.w3schools.com/cssref/sel_hover.php*
-
-7. Inside of the `:hover` selector change the background of the button to `#cc7a00`.
+6. Inside of the `:hover` selector change the background of the button to `darkorange`.
## Expected result:
From af5eebd9b243d44a41cda3a01d905647f0703bd4 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:30:53 +0200
Subject: [PATCH 174/294] Update README.es.md
---
exercises/13-Anchor-Like-Button/README.es.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/13-Anchor-Like-Button/README.es.md b/exercises/13-Anchor-Like-Button/README.es.md
index 63c1e428..257901be 100644
--- a/exercises/13-Anchor-Like-Button/README.es.md
+++ b/exercises/13-Anchor-Like-Button/README.es.md
@@ -10,7 +10,7 @@ Sigue estos pasos para que tu enlace (`anchor`) se vea así:
2. Bordes redondeados: establece el `border-radius` en `4px`.
-3. El `background` debe ser de color `orange`, y cuando el ratón esté sobre el botón (`:hover`), el `background` debe ser `darkorange`
+3. El `background` debe ser de color `orange`, y cuando el ratón esté sobre el botón (`:hover`), el `background` debe ser `darkorange`.
4. Eliminar subrayado: establece `text-decoration` a `none`.
From 8cf1f66ba66ec1f787f0e0ebd71c0d92875b269b Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:36:18 +0200
Subject: [PATCH 175/294] Update solution.hide.css
---
exercises/13-Anchor-Like-Button/solution.hide.css | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/exercises/13-Anchor-Like-Button/solution.hide.css b/exercises/13-Anchor-Like-Button/solution.hide.css
index fd0db11b..89976317 100644
--- a/exercises/13-Anchor-Like-Button/solution.hide.css
+++ b/exercises/13-Anchor-Like-Button/solution.hide.css
@@ -1,5 +1,6 @@
.orange-btn {
- /*your code here*/
+ display: inline-block;
+ /*your code below*/
padding: 10px;
border-radius: 4px;
text-decoration: none;
From fc612d2c62e4550a22165c0581edfc7361cf9a13 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:36:31 +0200
Subject: [PATCH 176/294] Update solution.hide.css
---
exercises/13-Anchor-Like-Button/solution.hide.css | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/13-Anchor-Like-Button/solution.hide.css b/exercises/13-Anchor-Like-Button/solution.hide.css
index 89976317..3e80d404 100644
--- a/exercises/13-Anchor-Like-Button/solution.hide.css
+++ b/exercises/13-Anchor-Like-Button/solution.hide.css
@@ -1,6 +1,6 @@
.orange-btn {
display: inline-block;
- /*your code below*/
+ /* your code below */
padding: 10px;
border-radius: 4px;
text-decoration: none;
@@ -9,6 +9,6 @@
}
.orange-btn:hover {
- /*YOUR CODE HERE FOR THE HOVER STATE*/
+ /* YOUR CODE HERE FOR THE HOVER STATE */
background: darkorange;
}
From d3b8a90a4ddfca386132a7cb7bfb97480e799023 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:37:11 +0200
Subject: [PATCH 177/294] Update styles.css
---
exercises/13-Anchor-Like-Button/styles.css | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/exercises/13-Anchor-Like-Button/styles.css b/exercises/13-Anchor-Like-Button/styles.css
index 1f165603..76fd5b9c 100644
--- a/exercises/13-Anchor-Like-Button/styles.css
+++ b/exercises/13-Anchor-Like-Button/styles.css
@@ -1,9 +1,10 @@
.orange-btn {
- /*your code here*/
+ display: inline-block;
+ /* your code below */
}
.orange-btn:hover {
- /*YOUR CODE HERE FOR THE HOVER STATE*/
+ /* YOUR CODE HERE FOR THE HOVER STATE */
-}
\ No newline at end of file
+}
From fc498c893703e7183c7d182cd3cf283d1b07f549 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:37:44 +0200
Subject: [PATCH 178/294] Update README.md
---
exercises/13-Anchor-Like-Button/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/13-Anchor-Like-Button/README.md b/exercises/13-Anchor-Like-Button/README.md
index 36cd9112..9b9fad4c 100644
--- a/exercises/13-Anchor-Like-Button/README.md
+++ b/exercises/13-Anchor-Like-Button/README.md
@@ -10,7 +10,7 @@ Anchors are not only used within text: when you are going to use anchors outside
3. The background should be `orange` when not hovered, and `darkorange` on hover (`:hover`).
-4. Remove underline: Set `text-decoration` to `none`.
+4. Remove underline: set `text-decoration` to `none`.
5. Set the color of the text to `white`.
From 5ac8d24e4c0557477ab69dcde201e61016aa5063 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 12 Apr 2023 14:09:11 +0200
Subject: [PATCH 179/294] Delete solution-hide.css
---
exercises/13-Anchor-Like-Button/solution-hide.css | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 exercises/13-Anchor-Like-Button/solution-hide.css
diff --git a/exercises/13-Anchor-Like-Button/solution-hide.css b/exercises/13-Anchor-Like-Button/solution-hide.css
deleted file mode 100644
index 16988e82..00000000
--- a/exercises/13-Anchor-Like-Button/solution-hide.css
+++ /dev/null
@@ -1,14 +0,0 @@
-.orange-btn {
- /*your code here*/
- padding: 10px;
- border-radius: 4px;
- border: 1px solid #ffffff;
- background-color: rgb(255, 153, 51);
- text-decoration: none;
- color: white;
-}
-
-.orange-btn:hover {
- /*YOUR CODE HERE FOR THE HOVER STATE*/
- background: #cc7a00;
-}
From 031b50a18b030cc7765b7f1d8424a2ea563f2367 Mon Sep 17 00:00:00 2001
From: lorenagubaira <102861577+Lorenagubaira@users.noreply.github.com>
Date: Mon, 17 Apr 2023 10:53:53 +0000
Subject: [PATCH 180/294] the footnotes were added
---
README.es.md | 3 +++
README.md | 2 ++
2 files changed, 5 insertions(+)
diff --git a/README.es.md b/README.es.md
index e8d77079..a876b709 100644
--- a/README.es.md
+++ b/README.es.md
@@ -93,3 +93,6 @@ Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds
3. [Daniel Machota (@d4rkm0nst3r)](https://github.com/d4rkm0nst3r), contribución: (build-tutorial) ✅, Traducción 🌍
Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas!
+
+Este y otros ejercicios son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) realizado por [Alejandro Sánchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce más sobre nuestros [Curso de Programación](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).
+
diff --git a/README.md b/README.md
index 4a7c9968..0e7185c6 100644
--- a/README.md
+++ b/README.md
@@ -95,3 +95,5 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
3. [Daniel Machota (@d4rkm0nst3r)](https://github.com/d4rkm0nst3r), contribution: (build-tutorial) ✅, Translation 🌍
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!
+
+This and many other exercises are built by students as part of the 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) by [Alejandro Sánchez](https://twitter.com/alesanchezr) and many other contributors. Find out more about our [Full Stack Developer Course](https://4geeksacademy.com/us/coding-bootcamps/part-time-full-stack-developer), and [Data Science Bootcamp](https://4geeksacademy.com/us/coding-bootcamps/datascience-machine-learning).
\ No newline at end of file
From c57049c3d2b254de526a701ed8bd8f25dd8c619d Mon Sep 17 00:00:00 2001
From: lorenagubaira <102861577+Lorenagubaira@users.noreply.github.com>
Date: Thu, 20 Apr 2023 11:31:11 +0000
Subject: [PATCH 181/294] the links were updated
---
README.es.md | 2 +-
README.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.es.md b/README.es.md
index a876b709..275ba239 100644
--- a/README.es.md
+++ b/README.es.md
@@ -42,7 +42,7 @@ Una completa selección de Ejercicios autograduados sobre CSS ¡para cualquier i
## Instalación en un clic (recomendado)
-Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Codespaces](https://codespaces.new/?repo=4GeeksAcademy/css-layouts-tutorial-exercises) (recomendado) o [Abrir en Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/css-layouts-tutorial-exercises.git).
+Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Codespaces](https://codespaces.new/?repo=4GeeksAcademy/css-tutorial-exercises-course) (recomendado) o [Abrir en Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/css-tutorial-exercises-course.git).
> Una vez ya tengas abierto VSCode los ejercicios de LearnPack deberían empezar automáticamente, si esto no sucede puedes intentar empezar los ejercicios escribiendo este comando en tu terminal: `$ learnpack start`
diff --git a/README.md b/README.md
index 0e7185c6..4441527f 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ Complete selection of autograded CSS exercises, for anyone interested in learnin
## One click installation (recommended):
-You can open these exercises in just a few seconds by clicking: [Open in Codespaces](https://codespaces.new/?repo=4GeeksAcademy/css-layouts-tutorial-exercises) (recommended) or [Open in Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/css-layouts-tutorial-exercises.git).
+You can open these exercises in just a few seconds by clicking: [Open in Codespaces](https://codespaces.new/?repo=4GeeksAcademy/css-tutorial-exercises-course) (recommended) or [Open in Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/css-tutorial-exercises-course.git).
> Once you have VSCode open the LearnPack exercises should start automatically. If exercises don't run automatically you can try typing on your terminal: `$ learnpack start`
From a3a384ea4c563f56347c88282acbded5dc8ac728 Mon Sep 17 00:00:00 2001
From: lorenagubaira <102861577+Lorenagubaira@users.noreply.github.com>
Date: Fri, 21 Apr 2023 17:51:08 +0000
Subject: [PATCH 182/294] the settings.json file was updated
---
.gitignore | 1 +
.vscode/settings.json | 8 ++++++++
2 files changed, 9 insertions(+)
create mode 100644 .vscode/settings.json
diff --git a/.gitignore b/.gitignore
index d9d6ec86..b54a1f9f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@
!learn.json
!README.md
!README.es.md
+!.vscode
!/exercises
!/exercises/*
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 00000000..2f5ad94d
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,8 @@
+{
+ "files.autoSave": "afterDelay",
+ "files.autoSaveDelay": 700,
+ "editor.minimap.enabled": false,
+ "workbench.editorAssociations": {
+ "*.md": "vscode.markdown.preview.editor"
+ }
+}
\ No newline at end of file
From d736538afe18b11bc3452c625242315e0aca5ad5 Mon Sep 17 00:00:00 2001
From: Alejandro Sanchez
+
+
+
diff --git a/.learn/resets/02-style-tag/index.html b/.learn/resets/02-style-tag/index.html
new file mode 100644
index 00000000..d88e76dd
--- /dev/null
+++ b/.learn/resets/02-style-tag/index.html
@@ -0,0 +1 @@
+
diff --git a/exercises/00-Welcome/README.es.md b/exercises/00-welcome/README.es.md
similarity index 70%
rename from exercises/00-Welcome/README.es.md
rename to exercises/00-welcome/README.es.md
index c79f3275..0f0eff0d 100644
--- a/exercises/00-Welcome/README.es.md
+++ b/exercises/00-welcome/README.es.md
@@ -27,9 +27,8 @@ Como te habrás dado cuenta, HTML solo te permite crear sitios web básicos. Nad
Muchas gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
-1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) :computer: (idea) 🤔, (run-tests) :warning:, (pull-request-review) :eyes: (run-tutorial) :white_check_mark: (documentation) :book:
-1. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribución: (programador), (run-tests) :warning:
+1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) 💻, (idea) 🤔, (run-tests) ⚠️, (pull-request-review) 👀, (run-tutorial) ✅, (documentación) 📖
+2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribución: (programador) 💻, (run-tests) ⚠️
+3. [Charly Chacon (charlytoc)](https://github.com/charlytoc), contribución: (tutoriales, correcciones), 🤖
-Este proyecto sigue las especificaciones
-[all-contributors](https://github.com/kentcdodds/all-contributors)
- ¡Todas las contribuciones son bienvenidas!
+Este proyecto sigue las especificaciones [all-contributors](https://github.com/kentcdodds/all-contributors) ¡Todas las contribuciones son bienvenidas!
diff --git a/exercises/00-Welcome/README.md b/exercises/00-welcome/README.md
similarity index 71%
rename from exercises/00-Welcome/README.md
rename to exercises/00-welcome/README.md
index e2058557..e7048125 100644
--- a/exercises/00-Welcome/README.md
+++ b/exercises/00-welcome/README.md
@@ -6,9 +6,9 @@ intro: "https://www.youtube.com/watch?v=AuXnQHKhjxw"
My name is Alejandro Sanchez [@alesanchezr](https://twitter.com/alesanchezr). I'm really excited to have you here !! 🎉 😂
-Learning to code is hard, you will probably need coaching! DM me on twitter if you have any questions.
+Learning to code is hard; you will probably need coaching! DM me on Twitter if you have any questions.
-During this course you will be learning the following concepts:
+During this course, you will be learning the following concepts:
1. How to apply CSS to your website in 3 different ways: Inline, by grouping them together inside a `
diff --git a/exercises/01.1-Add-a-style-tag/README.md b/exercises/02.1-add-a-style-tag/README.md
similarity index 94%
rename from exercises/01.1-Add-a-style-tag/README.md
rename to exercises/02.1-add-a-style-tag/README.md
index e71febdf..f77ce8c4 100644
--- a/exercises/01.1-Add-a-style-tag/README.md
+++ b/exercises/02.1-add-a-style-tag/README.md
@@ -2,12 +2,12 @@
tutorial: "https://www.youtube.com/watch?v=K1SrZxiiM6I"
---
-# `01.1` The Style Tag
+# `02.1` The Style Tag
The previous exercise had a pre-writen `
diff --git a/exercises/02.1-add-a-style-tag/index.html b/exercises/02.1-add-a-style-tag/index.html
new file mode 100644
index 00000000..dbdd26d8
--- /dev/null
+++ b/exercises/02.1-add-a-style-tag/index.html
@@ -0,0 +1,6 @@
+
+
+
+ Hello
+
+
+ My brother
+ `, para listas desordenadas o con viñetas, y las etiquetas `
` para listas ordenadas o numeradas.
@@ -10,7 +10,7 @@ Tenemos control mediante CSS sobre cómo se ven estas listas, qué viñetas o n
Por ejemplo:
-```HTML
+```html
ul {
list-style-type: none;
margin: 0;
@@ -29,5 +29,11 @@ Luego, realiza los cambios a continuación y construye de nuevo.
1. Convierte los números de las bebidas Coca Cola en letras minúsculas.
2. Convierte los números de las bebidas Pepsi en viñetas cuadradas.
-3. Convierte las viñetas de las bebidas Saludables en números armenios. :)
+3. Convierte las viñetas de las bebidas Saludables en números armenios.
4. Elimina completamente las viñetas y el espacio extra de Web-developer drinks.
+
+## 💡 Pistas:
+
+- Cómo trabajar con estilos de lista en CSS: https://www.w3schools.com/css/css_list.asp
+- Cambiar viñetas por números y viceversa significa que necesitarías cambiar el tipo de lista, ordenada o no ordenada. Es posible que se requieran cambios en las etiquetas HTML.
+- `armenian` es un valor posible real de `list-style-type`: https://www.w3schools.com/cssref/pr_list-style-type.asp
\ No newline at end of file
diff --git a/exercises/03-list-styling/README.md b/exercises/04-list-styling/README.md
similarity index 92%
rename from exercises/03-list-styling/README.md
rename to exercises/04-list-styling/README.md
index 7dec08cd..242d9936 100644
--- a/exercises/03-list-styling/README.md
+++ b/exercises/04-list-styling/README.md
@@ -2,7 +2,7 @@
tutorial: "https://www.youtube.com/watch?v=i7UegJUGnRs"
---
-# `03` List styling
+# `04` List styling
In the front end we often have to list items and the way to do that is with `
` tags, for unordered/bulleted lists, and `
` tags for ordered/numbered lists.
@@ -10,7 +10,7 @@ We have CSS control over what these lists look like, what bullets or numbers the
For example:
-```HTML
+```html
ul {
list-style-type: none;
margin: 0;
@@ -27,13 +27,12 @@ Then make the changes below and run again.
## 📝 Instructions:
-
1. Make the Coca Cola drink numbers into lower case letters.
2. Make the Pepsi drink numbers into square bullets.
-3. Make the Healthy drink bullets into Armenian numbers. :)
+3. Make the Healthy drink bullets into Armenian numbers.
4. Completely remove the bullets and extra spacing from the Web-developer drinks.
-### 💡 Hint:
+## 💡 Hints:
- How to work with CSS list styles: https://www.w3schools.com/css/css_list.asp
- Changing bullets into numbers and vice versa means that you would need to change the type of list - ordered or unordered. Changes in the html tags may be necessary.
diff --git a/exercises/03-list-styling/index.html b/exercises/04-list-styling/index.html
similarity index 96%
rename from exercises/03-list-styling/index.html
rename to exercises/04-list-styling/index.html
index f2da1ba2..2eb502ea 100644
--- a/exercises/03-list-styling/index.html
+++ b/exercises/04-list-styling/index.html
@@ -5,7 +5,7 @@
-
diff --git a/exercises/05-Specificity/solution.hide.css b/exercises/06-specificity/solution.hide.css
similarity index 100%
rename from exercises/05-Specificity/solution.hide.css
rename to exercises/06-specificity/solution.hide.css
diff --git a/exercises/05-Specificity/styles.css b/exercises/06-specificity/styles.css
similarity index 100%
rename from exercises/05-Specificity/styles.css
rename to exercises/06-specificity/styles.css
diff --git a/exercises/05-Specificity/tests.js b/exercises/06-specificity/tests.js
similarity index 100%
rename from exercises/05-Specificity/tests.js
rename to exercises/06-specificity/tests.js
diff --git a/exercises/06-Practicing-Rules/README.es.md b/exercises/07-practicing-rules/README.es.md
similarity index 87%
rename from exercises/06-Practicing-Rules/README.es.md
rename to exercises/07-practicing-rules/README.es.md
index 78942479..a63c9004 100644
--- a/exercises/06-Practicing-Rules/README.es.md
+++ b/exercises/07-practicing-rules/README.es.md
@@ -1,4 +1,4 @@
-# `06` Practicing Rules
+# `07` Practicing Rules
## 📝 Instrucciones:
@@ -18,6 +18,6 @@
8. Cambia el color del `anchor` **hover** a verde (`green`) y elimina el subrayado (tienes que pasar el cursor encima del anchor para probarlo).
-## El resultado debería ser algo como esto:
+## 💻 Resultado esperado:
-
+
diff --git a/exercises/06-Practicing-Rules/README.md b/exercises/07-practicing-rules/README.md
similarity index 86%
rename from exercises/06-Practicing-Rules/README.md
rename to exercises/07-practicing-rules/README.md
index 2beed784..cb09ca0d 100644
--- a/exercises/06-Practicing-Rules/README.md
+++ b/exercises/07-practicing-rules/README.md
@@ -2,7 +2,7 @@
tutorial: "https://www.youtube.com/watch?v=4wguurrl-lU"
---
-# `06` Practicing Rules
+# `07` Practicing Rules
## 📝 Instructions:
@@ -22,6 +22,6 @@ tutorial: "https://www.youtube.com/watch?v=4wguurrl-lU"
8. Change the `anchor` **hover** color to `green` and remove the underline (you have to actually hover the anchor to test it).
-## The result should be something like this:
+## 💻 Expected result:
-
+
diff --git a/exercises/06-Practicing-Rules/index.html b/exercises/07-practicing-rules/index.html
similarity index 91%
rename from exercises/06-Practicing-Rules/index.html
rename to exercises/07-practicing-rules/index.html
index 8c0b2b50..b2d40b06 100644
--- a/exercises/06-Practicing-Rules/index.html
+++ b/exercises/07-practicing-rules/index.html
@@ -4,7 +4,7 @@
-
3 reasons you love what you are learning
tag should be 'underline'", () => {
+ test("The text-decoration in the
tag should be 'underline'", () => {
document.querySelector(
"head"
).innerHTML = ``;
diff --git a/exercises/07-Very-Specific-Rules/README.es.md b/exercises/08-very-specific-rules/README.es.md
similarity index 72%
rename from exercises/07-Very-Specific-Rules/README.es.md
rename to exercises/08-very-specific-rules/README.es.md
index df781b9a..dd02d734 100644
--- a/exercises/07-Very-Specific-Rules/README.es.md
+++ b/exercises/08-very-specific-rules/README.es.md
@@ -1,4 +1,4 @@
-# `07` Very Specific Rules
+# `08` Very Specific Rules
## 🔎 Importante:
@@ -12,10 +12,10 @@ En este ejercicio, puedes agregar tu código solo arriba del **READ-ONLY BLOCK**
3. Haz que las filas impares de la tabla tengan fondo amarillo usando `tr:nth-child`.
+
-
->Importante: **NO** debes modificar el archivo index.html
+> Importante: **NO** debes modificar el archivo `index.html`.
## 💡 Pista:
-1. El atributo `!important` ayuda a sobreescribir estilos.
+- El atributo `!important` ayuda a sobreescribir estilos.
diff --git a/exercises/07-Very-Specific-Rules/README.md b/exercises/08-very-specific-rules/README.md
similarity index 72%
rename from exercises/07-Very-Specific-Rules/README.md
rename to exercises/08-very-specific-rules/README.md
index 72f38d2c..91bcaf0c 100644
--- a/exercises/07-Very-Specific-Rules/README.md
+++ b/exercises/08-very-specific-rules/README.md
@@ -2,7 +2,7 @@
tutorial: "https://www.youtube.com/watch?v=2YkLDRZFk40"
---
-# `07` Very Specific Rules
+# `08` Very Specific Rules
## 🔎 Important:
@@ -10,17 +10,16 @@ In this exercise, you can add your code only above the **READ-ONLY BLOCK** of th
## 📝 Instructions:
-
1. Set the `ul li` text color to `red` (override conflicts with specificity).
2. Set the `background-color` of the second `li` of the `ol` to `green` (don't use the #id selector or .class selector).
3. Change the odd rows of the tables to a yellow background using `tr:nth-child`.
+
-
->Important: You should **NOT** modify the index.html file.
+> Important: You should **NOT** modify the `index.html` file.
## 💡 Hint:
-1. The `!important` attribute helps to override other attributes.
+- The `!important` attribute helps to override other attributes.
diff --git a/exercises/07-Very-Specific-Rules/index.html b/exercises/08-very-specific-rules/index.html
similarity index 93%
rename from exercises/07-Very-Specific-Rules/index.html
rename to exercises/08-very-specific-rules/index.html
index 09fef243..3909949d 100644
--- a/exercises/07-Very-Specific-Rules/index.html
+++ b/exercises/08-very-specific-rules/index.html
@@ -4,7 +4,7 @@
-
The learning essay
@@ -25,7 +25,7 @@ 3 reasons you know love what you are learning
diff --git a/exercises/07-Very-Specific-Rules/solution.hide.css b/exercises/08-very-specific-rules/solution.hide.css
similarity index 100%
rename from exercises/07-Very-Specific-Rules/solution.hide.css
rename to exercises/08-very-specific-rules/solution.hide.css
diff --git a/exercises/07-Very-Specific-Rules/styles.css b/exercises/08-very-specific-rules/styles.css
similarity index 100%
rename from exercises/07-Very-Specific-Rules/styles.css
rename to exercises/08-very-specific-rules/styles.css
diff --git a/exercises/07-Very-Specific-Rules/tests.js b/exercises/08-very-specific-rules/tests.js
similarity index 100%
rename from exercises/07-Very-Specific-Rules/tests.js
rename to exercises/08-very-specific-rules/tests.js
diff --git a/exercises/08-Rounded-Image/README.es.md b/exercises/09-rounded-image/README.es.md
similarity index 70%
rename from exercises/08-Rounded-Image/README.es.md
rename to exercises/09-rounded-image/README.es.md
index bd88ef5d..16a1bdde 100644
--- a/exercises/08-Rounded-Image/README.es.md
+++ b/exercises/09-rounded-image/README.es.md
@@ -1,4 +1,4 @@
-# `08` Rounded Image
+# `09` Rounded Image
Muchos sitios web usan imágenes de perfil redondeadas, ¡una técnica que realmente hace que un sitio web sea más hermoso!
@@ -16,10 +16,10 @@ El problema con este enfoque es que solo funciona para imágenes cuadradas... La
3. Además de `border-radius`, tenemos que utilizar también la propiedad `object-fit`, [aquí hay una explicación](https://www.loom.com/share/15186e456dfd4741887997af40325721).
-## 💡 Pista:
+## 💡 Pistas:
+ Si la imagen es más grande que su contenedor y quieres centrarla o enfocarte en una zona en particular, puedes utilizar `object-position`.
-+ En este artículo puedes leer más [sobre la propiedad object fit](https://css-tricks.com/on-object-fit-and-object-position/).
++ En este artículo puedes leer más [sobre la propiedad `object-fit`](https://css-tricks.com/on-object-fit-and-object-position/).
-+ Adicionalmente, puedes [leer la documentación de object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) y [la documentación de object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
++ Adicionalmente, puedes [leer la documentación de `object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) y [la documentación de `object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
diff --git a/exercises/08-Rounded-Image/README.md b/exercises/09-rounded-image/README.md
similarity index 71%
rename from exercises/08-Rounded-Image/README.md
rename to exercises/09-rounded-image/README.md
index 886e41f1..f44b0c22 100644
--- a/exercises/08-Rounded-Image/README.md
+++ b/exercises/09-rounded-image/README.md
@@ -1,4 +1,4 @@
-# `08` Rounded Image
+# `09` Rounded Image
A lot of websites use rounded profile images, a technique that really makes a website more beautiful!
@@ -17,10 +17,10 @@ The problem with this approach is that it only works for squared pictures... Pro
3. In this case, in addition to `border-radius`, you will have to use the `object-fit` CSS property, [here is an explanation](https://www.loom.com/share/15186e456dfd4741887997af40325721).
-## 💡 Hint:
+## 💡 Hints:
+ If the image ends up being bigger than its container (or with different proportions) you can adjust the `object-position` to choose what part of the image you want to display inside of the circle.
-+ You can also read [this great article about object fit](https://css-tricks.com/on-object-fit-and-object-position/).
++ You can also read [this great article about `object-fit`](https://css-tricks.com/on-object-fit-and-object-position/).
-+ Additionally you can [read the documentation on object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) and [the documentation on object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
++ Additionally you can [read the documentation on `object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) and [the documentation on `object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
diff --git a/exercises/08-Rounded-Image/index.html b/exercises/09-rounded-image/index.html
similarity index 91%
rename from exercises/08-Rounded-Image/index.html
rename to exercises/09-rounded-image/index.html
index 95931a07..52ff462d 100644
--- a/exercises/08-Rounded-Image/index.html
+++ b/exercises/09-rounded-image/index.html
@@ -4,7 +4,7 @@
-
My unique font
diff --git a/exercises/10-Your-Own-Font/solution.hide.css b/exercises/11-your-own-font/solution.hide.css
similarity index 91%
rename from exercises/10-Your-Own-Font/solution.hide.css
rename to exercises/11-your-own-font/solution.hide.css
index 85e3a7c3..98aa61be 100644
--- a/exercises/10-Your-Own-Font/solution.hide.css
+++ b/exercises/11-your-own-font/solution.hide.css
@@ -1,4 +1,4 @@
.myTitle {
/* Add your code below this line */
- font-family: "Montserrat"; /* Varies depending on the font you chose */
+ font-family: "Montserrat"; /* Varies depending on the font you choose */
}
diff --git a/exercises/10-Your-Own-Font/solution.hide.html b/exercises/11-your-own-font/solution.hide.html
similarity index 83%
rename from exercises/10-Your-Own-Font/solution.hide.html
rename to exercises/11-your-own-font/solution.hide.html
index eeb1c059..62fd02c5 100644
--- a/exercises/10-Your-Own-Font/solution.hide.html
+++ b/exercises/11-your-own-font/solution.hide.html
@@ -8,10 +8,10 @@
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Source+Code+Pro:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
-
+
- My unique font
diff --git a/exercises/10-Your-Own-Font/styles.css b/exercises/11-your-own-font/styles.css
similarity index 100%
rename from exercises/10-Your-Own-Font/styles.css
rename to exercises/11-your-own-font/styles.css
diff --git a/exercises/10-Your-Own-Font/tests.js b/exercises/11-your-own-font/tests.js
similarity index 95%
rename from exercises/10-Your-Own-Font/tests.js
rename to exercises/11-your-own-font/tests.js
index f7c2460b..71d2d707 100644
--- a/exercises/10-Your-Own-Font/tests.js
+++ b/exercises/11-your-own-font/tests.js
@@ -10,7 +10,7 @@ let cssArray = null;
describe("All the styles should be applied", ()=>{
const link = document.querySelectorAll("link")
- test("the font-family in the .myTitle should exists", ()=>{
+ test("the font-family in the .myTitle should exists", ()=>{
document.querySelector(
"head"
).innerHTML = ``;
diff --git a/exercises/11-Font-Awesome-Icons/README.es.md b/exercises/12-font-awesome-icons/README.es.md
similarity index 80%
rename from exercises/11-Font-Awesome-Icons/README.es.md
rename to exercises/12-font-awesome-icons/README.es.md
index d02884e6..87f6835c 100644
--- a/exercises/11-Font-Awesome-Icons/README.es.md
+++ b/exercises/12-font-awesome-icons/README.es.md
@@ -1,4 +1,4 @@
-# `11` Font Awesome Icons
+# `12` Font Awesome Icons
Como desarrollador, querrás utilizar ciertos iconos para que tu sitio web sea fácil de entender. Por ejemplo, sabemos que el icono de "papelera" significa "eliminar".
@@ -6,7 +6,7 @@ Como desarrollador, querrás utilizar ciertos iconos para que tu sitio web sea f
Font Awesome resuelve el problema de la "imagen" creando una nueva fuente en donde cada letra es un icono diferente y ahora puedes importar toda la fuente a tu sitio web y usar el icono que quieras.
-Después de vincular tu sitio web con font-awesome, puedes usar lo siguiente para codificar e insertar un icono específico:
+Después de vincular tu sitio web con font-awesome, puedes usar el siguiente código para insertar un icono en específico:
```html
@@ -18,5 +18,5 @@ Después de vincular tu sitio web con font-awesome, puedes usar lo siguiente par
## 📝 Instrucciones:
-Agrega dos elementos (`li`) más a tu lista y agrega un icono diferente al comienzo de cada elemento.
+1. Agrega dos elementos (`li`) más a tu lista y agrega un icono diferente al comienzo de cada elemento.
diff --git a/exercises/11-Font-Awesome-Icons/README.md b/exercises/12-font-awesome-icons/README.md
similarity index 97%
rename from exercises/11-Font-Awesome-Icons/README.md
rename to exercises/12-font-awesome-icons/README.md
index f9c7c09f..c37d7496 100644
--- a/exercises/11-Font-Awesome-Icons/README.md
+++ b/exercises/12-font-awesome-icons/README.md
@@ -1,4 +1,4 @@
-# `11` Font Awesome Icons
+# `12` Font Awesome Icons
As a developer/designer, you want to use certain icons to make your website easy to understand; for example, we know that a "trash" icon means "delete".
diff --git a/exercises/11-Font-Awesome-Icons/index.html b/exercises/12-font-awesome-icons/index.html
similarity index 91%
rename from exercises/11-Font-Awesome-Icons/index.html
rename to exercises/12-font-awesome-icons/index.html
index 1401d5da..3495c6b5 100644
--- a/exercises/11-Font-Awesome-Icons/index.html
+++ b/exercises/12-font-awesome-icons/index.html
@@ -5,7 +5,7 @@
-
diff --git a/exercises/11-Font-Awesome-Icons/solution.hide.html b/exercises/12-font-awesome-icons/solution.hide.html
similarity index 93%
rename from exercises/11-Font-Awesome-Icons/solution.hide.html
rename to exercises/12-font-awesome-icons/solution.hide.html
index 431e6b22..4a3d255e 100644
--- a/exercises/11-Font-Awesome-Icons/solution.hide.html
+++ b/exercises/12-font-awesome-icons/solution.hide.html
@@ -5,7 +5,7 @@
-
diff --git a/exercises/11-Font-Awesome-Icons/styles.css b/exercises/12-font-awesome-icons/styles.css
similarity index 100%
rename from exercises/11-Font-Awesome-Icons/styles.css
rename to exercises/12-font-awesome-icons/styles.css
diff --git a/exercises/11-Font-Awesome-Icons/tests.js b/exercises/12-font-awesome-icons/tests.js
similarity index 100%
rename from exercises/11-Font-Awesome-Icons/tests.js
rename to exercises/12-font-awesome-icons/tests.js
diff --git a/exercises/12-Relative-Length-EM-REM/README.es.md b/exercises/13-relative-length-em-rem/README.es.md
similarity index 64%
rename from exercises/12-Relative-Length-EM-REM/README.es.md
rename to exercises/13-relative-length-em-rem/README.es.md
index a10a425d..445d2c7f 100644
--- a/exercises/12-Relative-Length-EM-REM/README.es.md
+++ b/exercises/13-relative-length-em-rem/README.es.md
@@ -1,10 +1,10 @@
-# `12` Relative Length em, rem
+# `13` Relative Length em, rem
Hasta ahora, hemos trabajado con píxeles como unidad de medida, por ejemplo, diciendo que un contenedor o caja tiene `100px` de ancho.
Hay otros tipos de unidades que no son absolutas, sino relativas. Las usamos cuando queremos que el tamaño del elemento esté relacionado con otro elemento o unidad de medida.
-## Ejemplo usando em:
+## Ejemplo usando `em`:
En este ejercicio tenemos dos encabezados `
`. Ambos son `
`, pero uno es más grande que el otro porque los encabezados tienen `font-size` relativos por defecto.
@@ -12,19 +12,18 @@ Dado que el segundo `div` tiene un `font-size` más grande, el título cambia de
## En resumen:
-+ em: Relativo al `font-size` actual del padre.
++ `em`: Relativo al `font-size` actual del padre.
-+ rem: Relativo al `font-size` original de la página.
++ `rem`: Relativo al `font-size` original de la página.
## 📝 Instrucciones:
-1. Proporciona un `font-size` de `0.8em` a ambos `h2`
+1. Proporciona un `font-size` de `0.8em` a ambos `h2`.
-2. Ahora asigna un `font-size` de `0.8rem` a ambos `h3`
+2. Ahora asigna un `font-size` de `0.8rem` a ambos `h3`.
+## 💻 Resultado esperado:
-## El resultado debería verse así:
-
-
+
diff --git a/exercises/12-Relative-Length-EM-REM/README.md b/exercises/13-relative-length-em-rem/README.md
similarity index 61%
rename from exercises/12-Relative-Length-EM-REM/README.md
rename to exercises/13-relative-length-em-rem/README.md
index 51613b62..e1805278 100644
--- a/exercises/12-Relative-Length-EM-REM/README.md
+++ b/exercises/13-relative-length-em-rem/README.md
@@ -1,10 +1,10 @@
-# `12` Relative Length em, rem
+# `13` Relative Length em, rem
By now, we are used to working with pixels as a measurement unit, for example, saying that a box has `100px` of width.
There are other types of units that are not fixed, but relative. We use them when we want the element size to be related to another element or measurement unit.
-## Example using em:
+## Example using `em`:
In this exercise we have two `
` headings. They are both `
`, but one is bigger than the other because headings have relative font-sizes by default.
@@ -12,20 +12,19 @@ Since the second `div` has a bigger based `font-size`, then the heading resizes
## In short:
-+ em: Relative to the current `font-size` of the parent.
++ `em`: Relative to the current `font-size` of the parent.
-+ rem: Relative to the original `font-size` of the page.
++ `rem`: Relative to the original `font-size` of the page.
## 📝 Instructions:
-1. Give a `font-size` of `0.8em` to both `h2`'s
+1. Give a `font-size` of `0.8em` to both `h2`'s.
-2. Now give a `font-size` of `0.8rem` to both `h3`'s
+2. Now give a `font-size` of `0.8rem` to both `h3`'s.
+## 💻 Expected result:
-## The result should look like this:
-
-
+
diff --git a/exercises/12-Relative-Length-EM-REM/index.html b/exercises/13-relative-length-em-rem/index.html
similarity index 92%
rename from exercises/12-Relative-Length-EM-REM/index.html
rename to exercises/13-relative-length-em-rem/index.html
index f4d745fd..24290996 100644
--- a/exercises/12-Relative-Length-EM-REM/index.html
+++ b/exercises/13-relative-length-em-rem/index.html
@@ -4,7 +4,7 @@
-
` tags, for unordered/bulleted lists, and `
` tags for ordered/numbered lists.
+In the front end, we often have to list items, and the way to do that is with `
` tags, for unordered/bulleted lists, and `
` tags for ordered/numbered lists.
We have CSS control over what these lists look like, what bullets or numbers they use, etc.
@@ -18,7 +18,7 @@ For example:
}
```
-Will remove the numbers or bullets and will move the text to the left so there is no empty space where the bullets once were.
+This will remove the numbers or bullets and will move the text to the left so there is no empty space where the bullets once were.
**Note:**
@@ -27,13 +27,14 @@ Then make the changes below and run again.
## 📝 Instructions:
-1. Make the Coca Cola drink numbers into lower case letters.
-2. Make the Pepsi drink numbers into square bullets.
-3. Make the Healthy drink bullets into Armenian numbers.
-4. Completely remove the bullets and extra spacing from the Web-developer drinks.
+1. Make the Coca Cola drinks numbers into lowercase letters.
+2. Make the Pepsi drinks numbers into square bullets.
+3. Make the Healthy drinks bullets into Armenian numbers.
+4. Completely remove the bullets from the web-developer drinks.
## 💡 Hints:
- How to work with CSS list styles: https://www.w3schools.com/css/css_list.asp
-- Changing bullets into numbers and vice versa means that you would need to change the type of list - ordered or unordered. Changes in the html tags may be necessary.
-- `armenian` is an actual possible value of `list-style-type`: https://www.w3schools.com/cssref/pr_list-style-type.asp
\ No newline at end of file
+- Changing bullets into numbers and vice versa means that you would need to change the type of list - ordered or unordered. Changes in the HTML tags may be necessary.
+- `armenian` is an actual possible value of `list-style-type`: https://www.w3schools.com/cssref/pr_list-style-type.asp
+
From c9916df2d959c28dc3bfc87e6e55299af186fe4b Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 20 Mar 2024 16:23:56 +0100
Subject: [PATCH 260/294] Update README.md
---
exercises/05.2-apply-several-classes/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exercises/05.2-apply-several-classes/README.md b/exercises/05.2-apply-several-classes/README.md
index 333b93a6..009f5997 100644
--- a/exercises/05.2-apply-several-classes/README.md
+++ b/exercises/05.2-apply-several-classes/README.md
@@ -2,7 +2,7 @@
tutorial: "https://www.youtube.com/watch?v=RISEpELEzEk"
---
-# `04.2` Apply several classes
+# `05.2` Apply several classes
We have prepared a small CSS Stylesheet that contains the CSS styles to replicate poker cards.
From 7cac596829aaa39206d411c40b63f1bec30dda74 Mon Sep 17 00:00:00 2001
From: Jose Mora <109150320+josemoracard@users.noreply.github.com>
Date: Wed, 20 Mar 2024 16:35:24 +0100
Subject: [PATCH 261/294] Update README.es.md
---
exercises/04-list-styling/README.es.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/exercises/04-list-styling/README.es.md b/exercises/04-list-styling/README.es.md
index 7d267da2..c09d4976 100644
--- a/exercises/04-list-styling/README.es.md
+++ b/exercises/04-list-styling/README.es.md
@@ -22,18 +22,18 @@ Eliminará los números o viñetas y moverá el texto hacia la izquierda para qu
**Nota:**
-Construye el código existente primero para ver cómo se ve originalmente la página.
-Luego, realiza los cambios a continuación y construye de nuevo.
+Construye el código existente primero para ver cómo se ve originalmente la página. Luego, realiza los cambios a continuación y construye de nuevo.
## 📝 Instrucciones:
-1. Convierte los números de las bebidas Coca Cola en letras minúsculas.
-2. Convierte los números de las bebidas Pepsi en viñetas cuadradas.
+1. Convierte los números de las bebidas de Coca Cola en letras minúsculas.
+2. Convierte los números de las bebidas de Pepsi en viñetas cuadradas.
3. Convierte las viñetas de las bebidas Saludables en números armenios.
-4. Elimina completamente las viñetas y el espacio extra de Web-developer drinks.
+4. Elimina completamente las viñetas de las bebidas de web-developer.
## 💡 Pistas:
- Cómo trabajar con estilos de lista en CSS: https://www.w3schools.com/css/css_list.asp
- Cambiar viñetas por números y viceversa significa que necesitarías cambiar el tipo de lista, ordenada o no ordenada. Es posible que se requieran cambios en las etiquetas HTML.
-- `armenian` es un valor posible real de `list-style-type`: https://www.w3schools.com/cssref/pr_list-style-type.asp
\ No newline at end of file
+- `armenian` es un valor posible real de `list-style-type`: https://www.w3schools.com/cssref/pr_list-style-type.asp
+
From f9662e5ff296698daa1c7a784546259225db48a0 Mon Sep 17 00:00:00 2001
From: josemoracard
-
-
-
diff --git a/.learn/resets/02-style-tag/index.html b/.learn/resets/02-style-tag/index.html
deleted file mode 100644
index d88e76dd..00000000
--- a/.learn/resets/02-style-tag/index.html
+++ /dev/null
@@ -1 +0,0 @@
-
From f3a1b99d6b84d84230e2566f040e84f2d8ca3eb7 Mon Sep 17 00:00:00 2001
From: josemoracard
-
- Hello
-
-
- My brother
-