From 51cea7e76c271ec125d3515ce75b22c8432f3f49 Mon Sep 17 00:00:00 2001
From: Alejandro Sanchez
Date: Mon, 25 Apr 2022 09:33:33 -0400
Subject: [PATCH 001/413] Update README.md
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 800af5a5..15963cee 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ Hi! I'm [Alejandro Sanchez @alesanchezr](https://github.com/alesanchezr), really
Complete selection of autograded CSS exercises, anyone interested in learning CSS!
-
+
## One click installation:
@@ -70,7 +70,7 @@ $ learnpack start
```
Note: The exercises have automatic grading but its very rigid and strict, my recomendation is to ignore the tests and use them only as a recomendation or you can get frustrated.
-
+
## How are the exercises organized?
Each exercise is a small react application containing the following files:
From 29bb1262289d1b0ca23812cd92ea7349e684f1bc Mon Sep 17 00:00:00 2001
From: Alejandro Sanchez
Date: Mon, 25 Apr 2022 09:33:52 -0400
Subject: [PATCH 002/413] Update README.es.md
---
README.es.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/README.es.md b/README.es.md
index f3487892..88fe684b 100644
--- a/README.es.md
+++ b/README.es.md
@@ -39,7 +39,6 @@
Una completa selección de Ejercicios autograduados sobre CSS ¡para cualquier interesado en aprender CSS!
-
## Instalación en un clic
@@ -74,7 +73,7 @@ $ learnpack start
Nota: Los ejercicios slon autograduados pero los tests son muy rígidos y estrictos, mi recomendación es que ignores los tests y los uses solo como una recomendación o pueden frustrarte.
-
+
## ¿Cómo están organizados los ejercicios?
Cada ejercicio es una pequeña aplicación de react que contiene los siguientes archivos:
From fe95686697aa834ac4c5a1e12794d4f6669ffba9 Mon Sep 17 00:00:00 2001
From: Alejandro Sanchez
Date: Mon, 25 Apr 2022 09:35:17 -0400
Subject: [PATCH 003/413] Update README.es.md
---
README.es.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.es.md b/README.es.md
index 88fe684b..14d70b74 100644
--- a/README.es.md
+++ b/README.es.md
@@ -78,9 +78,10 @@ Nota: Los ejercicios slon autograduados pero los tests son muy rígidos y estric
Cada ejercicio es una pequeña aplicación de react que contiene los siguientes archivos:
-1. **index.js:** representa el archivo de entrada para toda la aplicación.
-2. **README.md:** contiene las instrucciones de los ejercicios.
-3. **test.js:** no tienes que abrir este archivo, contiene el script del test para el ejercicio.
+1. **index.html:** representa el archivo de entrada para el ejercicio.
+2. **styles.css:** contiene los estilos y reglas de CSS
+3. **README.md:** contiene las instrucciones de los ejercicios.
+4. **test.js:** no tienes que abrir este archivo, contiene el script del test para el ejercicio.
## Colaboradores
From b9ac1d8007d21539abcd5d63b1fe1ab5b590cb80 Mon Sep 17 00:00:00 2001
From: Alejandro Sanchez
Date: Mon, 25 Apr 2022 09:36:09 -0400
Subject: [PATCH 004/413] Update README.md
---
README.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 15963cee..b127fe6b 100644
--- a/README.md
+++ b/README.md
@@ -75,9 +75,10 @@ Note: The exercises have automatic grading but its very rigid and strict, my rec
Each exercise is a small react application containing the following files:
-1. **index.css:** your CSS code goes here.
-2. **README.md:** contains exercise instructions.
-3. **test.js:** you don't have to open this file, it contains the testing script for the exercise.
+1. **index.html:** all websites and exercises start from the index.html
+2. **styles.css:** your CSS code goes here, some exercises will make you update this file
+3. **README.md:** contains exercise instructions.
+4. **test.js:** you don't have to open this file, it contains the testing script for the exercise.
## Contributors
From 60151c9533a50a3d761babe79fdf0ceabcf994bd Mon Sep 17 00:00:00 2001
From: Lorenagubaira
Date: Thu, 19 May 2022 12:52:51 +0000
Subject: [PATCH 005/413] spelling errors have been corrected
---
exercises/00-Welcome/README.es.md | 1 +
exercises/00-Welcome/README.md | 1 +
exercises/02-Separate-Stylesheet/README.es.md | 4 ++--
exercises/02.1-Background/README.md | 2 +-
exercises/03-Inline-Styles/README.md | 2 +-
exercises/04.1-Combined-Rules/README.md | 4 ++--
exercises/04.2-Apply-several-classes/README.es.md | 4 ++--
exercises/05-Specificity/README.md | 4 ++--
exercises/06-Practicing-Rules/README.md | 2 +-
exercises/07-Very-Specific-Rules/README.md | 2 +-
exercises/09-Anchor-Styles/README.es.md | 2 +-
11 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/exercises/00-Welcome/README.es.md b/exercises/00-Welcome/README.es.md
index bed6d3a1..0e97862a 100644
--- a/exercises/00-Welcome/README.es.md
+++ b/exercises/00-Welcome/README.es.md
@@ -5,6 +5,7 @@ intro: "https://www.youtube.com/watch?v=BDKdUPDez-U"
# ¡¡Bienvenido a los ejercicios de CSS!!
Mi nombre es Alejandro Sanchez [@alesanchezr](https://twitter.com/alesanchezr) ¡Estoy muy contento de que estén aquí! 🎉 😂
+
Aprender a programar es dificil ¡Probablemente necesitarás coaching! Envíame un DM vía Twitter si tienes alguna duda.
Durante este curso aprenderás los siguientes conceptos:
diff --git a/exercises/00-Welcome/README.md b/exercises/00-Welcome/README.md
index 7ff64cf1..177fbeba 100644
--- a/exercises/00-Welcome/README.md
+++ b/exercises/00-Welcome/README.md
@@ -5,6 +5,7 @@ intro: "https://www.youtube.com/watch?v=BDKdUPDez-U"
# Welcome to CSS Exercises!!
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 problably need coaching! DM me on twitter if you have any question.
During this course you will be learning the following concepts:
diff --git a/exercises/02-Separate-Stylesheet/README.es.md b/exercises/02-Separate-Stylesheet/README.es.md
index 67e731d5..58eca7ef 100644
--- a/exercises/02-Separate-Stylesheet/README.es.md
+++ b/exercises/02-Separate-Stylesheet/README.es.md
@@ -2,11 +2,11 @@
Si usas la etiqueta html ``, puedes tener tus estilos en un archivo separado que normalmente se llama `styles.css`.
-Esa es una mejor práctica porque te permite tener un sitio web a sin diseño, puedes cambiar el CSS después y hacer que tu sitio web se vea 100% diferente, pero teniendo exactamente el mismo HTML.
+Esa es una mejor práctica porque te permite tener un sitio web sin diseño, puedes cambiar el CSS después y hacer que tu sitio web se vea 100% diferente, pero teniendo exactamente el mismo HTML.
## 📝 Instrucciones:
-LLena el `styles.css` con el contenido necesario para que el body del sitio web azul (blue).
+LLena el `styles.css` con el contenido necesario para que el body del sitio web sea azul (blue).
## 💡 Pista:
diff --git a/exercises/02.1-Background/README.md b/exercises/02.1-Background/README.md
index d81d440a..b77e9de9 100644
--- a/exercises/02.1-Background/README.md
+++ b/exercises/02.1-Background/README.md
@@ -6,7 +6,7 @@ tutorial: "https://www.youtube.com/watch?v=MJI0-sFmTe8"
The `background` CSS rule allows us to assign and work with the background of any container. The background values can be a `color` or an `image`.
-If it is an image, you can specify if you want the image to be repeated horizontally, vertically, or both, or not at all, and you can also specify if you want it to resize and fit the whole container where its being applied, among other properties that can be modified.
+If it is an image, you can specify if you want the image to be repeated horizontally, vertically, or both, or not at all, and you can also specify if you want it to resize and fit the whole container where it is being applied, among other properties that can be modified.
## 📝 Instructions:
diff --git a/exercises/03-Inline-Styles/README.md b/exercises/03-Inline-Styles/README.md
index 32e0e565..f7600770 100644
--- a/exercises/03-Inline-Styles/README.md
+++ b/exercises/03-Inline-Styles/README.md
@@ -4,7 +4,7 @@ tutorial: "https://www.youtube.com/watch?v=jIMPLzpryuI"
# `03` Inline Styles
-Inline styles are a very bad idea unless you have no other choice (and that's a very uncommon situation). Sadly, we have to teach you how to do it because you may need to use them at some point.
+`Inline` styles are a very bad idea unless you have no other choice (and that's a very uncommon situation). Sadly, we have to teach you how to do it because you may need to use them at some point.
To use inline styles, instead of declaring a `;
let cssArray=document.styleSheets[0].cssRules;
-
let orangeHoverSelector="";
for (let i=0; i li") {
+ if (cssArray[i].selectorText==="ul li" || cssArray[i].selectorText==="ul > li") {
orangeHoverSelector=cssArray[i].style.color;
-
}
expect(orangeHoverSelector).toBe("red");
}
-
-
});
it("The ul second element background should be green", function () {
document.querySelector(
@@ -44,7 +37,7 @@ describe("All the styles should be applied", function () {
let orangeHoverSelector="";
for (let i=0; i li:nth-child(2)" ) {
+ if (cssArray[i].selectorText==="ol li:nth-child(2)" || cssArray[i].selectorText==="ol > li:nth-child(2)" ) {
orangeHoverSelector=cssArray[i].style['background-color'];
}
@@ -90,9 +83,4 @@ describe("All the styles should be applied", function () {
let title = head.querySelector('title')
expect(title).not.toBe(null)
})
-
-
-
-
-
});
\ No newline at end of file
diff --git a/learn.json b/learn.json
index e11a82b6..6574dcef 100644
--- a/learn.json
+++ b/learn.json
@@ -11,10 +11,8 @@
"difficulty": "easy",
"video-solutions": true,
"graded": true,
-
- "disableGrading": false,
- "editor": {
- "version": "1.0.73"
- }
-
+ "disableGrading": false,
+ "editor": {
+ "version": "1.0.73"
+ }
}
From aa84d1182fcebac776106e3789b45084478338f6 Mon Sep 17 00:00:00 2001
From: Tomas Gonzalez
Date: Thu, 9 Jun 2022 21:26:05 +0000
Subject: [PATCH 013/413] disableGrading set to true
---
learn.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/learn.json b/learn.json
index 6574dcef..3c17442e 100644
--- a/learn.json
+++ b/learn.json
@@ -11,6 +11,7 @@
"difficulty": "easy",
"video-solutions": true,
"graded": true,
+ "disabledActions": ["test"],
"disableGrading": false,
"editor": {
"version": "1.0.73"
From 0811f988c1e96f60c271644bf9e536d19e5d411a Mon Sep 17 00:00:00 2001
From: Tomas Gonzalez <56565994+tommygonzaleza@users.noreply.github.com>
Date: Tue, 14 Jun 2022 17:29:53 -0400
Subject: [PATCH 014/413] Update learn.json
---
learn.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/learn.json b/learn.json
index 3c17442e..709ede73 100644
--- a/learn.json
+++ b/learn.json
@@ -12,7 +12,7 @@
"video-solutions": true,
"graded": true,
"disabledActions": ["test"],
- "disableGrading": false,
+ "disableGrading": true,
"editor": {
"version": "1.0.73"
}
From ce353cfa37b6431829591db9312f53b671f2d502 Mon Sep 17 00:00:00 2001
From: Tomas Gonzalez
Date: Wed, 15 Jun 2022 18:17:53 +0000
Subject: [PATCH 015/413] fontawesome link updated
---
exercises/11-Font-Awesome-Icons/index.html | 4 ++--
exercises/11-Font-Awesome-Icons/solution.hide.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/exercises/11-Font-Awesome-Icons/index.html b/exercises/11-Font-Awesome-Icons/index.html
index b3533f72..1401d5da 100644
--- a/exercises/11-Font-Awesome-Icons/index.html
+++ b/exercises/11-Font-Awesome-Icons/index.html
@@ -4,12 +4,12 @@
-
+
11 Font Awesome