From e0593db2e30a319655c184e8a615b047ca17e6bb Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Tue, 11 Apr 2023 16:16:15 +0200 Subject: [PATCH 01/10] Update test.js --- exercises/04.2-Apply-several-classes/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/04.2-Apply-several-classes/test.js b/exercises/04.2-Apply-several-classes/test.js index 6d1d608e..cb04bc16 100644 --- a/exercises/04.2-Apply-several-classes/test.js +++ b/exercises/04.2-Apply-several-classes/test.js @@ -8,11 +8,11 @@ jest.dontMock("fs"); describe("You should change the class on the div tag", () => { const div = document.querySelector("div"); - test("The div class should NOT have the spades class", () => { + test('The
If you can't sleep, what better than watching videos of cats? - click here + click here
From 0928cecb58fdab3d9a527138df71e134c6ceb15e Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Tue, 11 Apr 2023 17:17:49 +0200 Subject: [PATCH 06/10] Update index.html --- exercises/06-Practicing-Rules/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/06-Practicing-Rules/index.html b/exercises/06-Practicing-Rules/index.html index 4ad9a572..acb133f5 100644 --- a/exercises/06-Practicing-Rules/index.html +++ b/exercises/06-Practicing-Rules/index.html @@ -27,7 +27,7 @@
If you can't sleep, what better than watching videos of cats? - click here + click here
From 0fc9574112a0704185528d3706f456d165312fac Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Tue, 11 Apr 2023 17:24:44 +0200 Subject: [PATCH 07/10] Update index.html --- exercises/07-Very-Specific-Rules/index.html | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/exercises/07-Very-Specific-Rules/index.html b/exercises/07-Very-Specific-Rules/index.html index 301d8f1d..09fef243 100644 --- a/exercises/07-Very-Specific-Rules/index.html +++ b/exercises/07-Very-Specific-Rules/index.html @@ -25,7 +25,7 @@
If you can't sleep, what better than watching videos of cats? - click here + click here
| Gender | ||
| 12 years | +12 | Male |
| 22 years | +22 | Female |
| 11 years | +11 | Male |
| 21 years | +21 | Male |
| 22 years | +22 | Female |
| 10 years | +10 | Male |
| 13 years | +13 | Female |
| 13 years | +13 | Male |
| 10 years | +10 | Male |
| 11 years | +11 | Male |
| 11 years | +11 | Male |
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 08/10] 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 09/10] 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 10/10] 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()