From 60151c9533a50a3d761babe79fdf0ceabcf994bd Mon Sep 17 00:00:00 2001
From: Lorenagubaira
Date: Thu, 19 May 2022 12:52:51 +0000
Subject: [PATCH 001/407] 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 007/407] 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 008/407] 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 009/407] 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