From 777901ba31f4fd618add6ef6159ebfc4a976c288 Mon Sep 17 00:00:00 2001 From: Anggie Alava Date: Fri, 15 Mar 2024 17:47:33 -0500 Subject: [PATCH 01/33] Corregido typo error en readme 01-style-tag --- exercises/01-Style-tag/README.es.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/01-Style-tag/README.es.md b/exercises/01-Style-tag/README.es.md index 6623f4ec..33e12ad2 100644 --- a/exercises/01-Style-tag/README.es.md +++ b/exercises/01-Style-tag/README.es.md @@ -11,7 +11,7 @@ Otra manera que existe de aplicar estilos es utilizar una etiqueta ``; + let firstOl = window.getComputedStyle(ols[0]); + expect(firstOl["list-style-type"]).toBe("lower-alpha"); + }); + test("The second Ol must have a list-style-type = square ", () => { + document.querySelector( + "head" + ).innerHTML = ``; + let secondOl = window.getComputedStyle(ols[1]); + expect(secondOl["list-style-type"]).toBe("square"); + }); + test("The first Ul must have a list-style-type = armenian ", () => { + document.querySelector( + "head" + ).innerHTML = ``; + let firstUl = window.getComputedStyle(uls[0]); + expect(firstUl["list-style-type"]).toBe("armenian"); + }); + test("The second Ul must have a list-style-type = none ", () => { + document.querySelector( + "head" + ).innerHTML = ``; + let secondUl = window.getComputedStyle(uls[1]); + expect(secondUl["list-style-type"]).toBe("none"); + expect(secondUl["margin"]).toBe("0px"); + expect(secondUl["padding"]).toBe("0px"); + }); +}) From c67374c64b6c251e196a27336cacfa91b77b92f2 Mon Sep 17 00:00:00 2001 From: Jose Mora <109150320+josemoracard@users.noreply.github.com> Date: Wed, 20 Mar 2024 11:04:27 +0000 Subject: [PATCH 03/33] fixed 01-inline-styles, added tests, fixed numbers and casing of all exercises --- .learn/resets/01-inline-styles/index.html | 17 ++++++++++ .learn/resets/02-style-tag/index.html | 1 + .../{00-Welcome => 00-welcome}/README.es.md | 9 +++-- .../{00-Welcome => 00-welcome}/README.md | 10 +++--- exercises/00.1-Inline-Styles/README.es.md | 34 ------------------- exercises/00.1-Inline-Styles/index.html | 1 - .../00.1-Inline-Styles/solution.hide.html | 10 ------ exercises/01-Style-tag/index.html | 1 - exercises/01-inline-styles/README.es.md | 30 ++++++++++++++++ .../README.md | 12 +++---- exercises/01-inline-styles/index.html | 17 ++++++++++ exercises/01-inline-styles/solution.hide.html | 17 ++++++++++ exercises/01-inline-styles/tests.js | 27 +++++++++++++++ exercises/01.1-Add-a-style-tag/index.html | 6 ---- .../02-Separate-Stylesheet/solution.hide.css | 7 ---- exercises/02-Separate-Stylesheet/styles.css | 4 --- .../README.es.md | 10 +++--- .../{01-Style-tag => 02-style-tag}/README.md | 8 ++--- exercises/02-style-tag/index.html | 1 + .../solution.hide.html | 0 .../{01-Style-tag => 02-style-tag}/test.js | 0 .../README.es.md | 5 +-- .../README.md | 4 +-- exercises/02.1-add-a-style-tag/index.html | 6 ++++ .../solution.hide.html | 2 +- .../test.js | 0 .../README.es.md | 2 +- .../README.md | 3 +- .../index.html | 0 .../solution.hide.html | 0 .../tests.js | 0 .../README.es.md | 2 +- .../README.md | 2 +- .../index.html | 0 .../solution.hide.html | 0 .../tests.js | 0 .../README.es.md | 2 +- .../README.md | 2 +- .../index.html | 0 .../03-separate-stylesheet/solution.hide.css | 7 ++++ exercises/03-separate-stylesheet/styles.css | 4 +++ .../tests.js | 0 .../README.es.md | 2 +- .../README.md | 3 +- .../index.html | 2 +- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 2 +- .../README.es.md | 12 +++++-- .../README.md | 9 +++-- .../index.html | 2 +- .../styles.css | 0 .../test.js | 2 +- .../README.es.md | 10 +++--- .../README.md | 6 ++-- .../index.html | 2 +- .../solution.hide.html | 2 +- .../styles.css | 0 .../test.js | 2 +- .../README.es.md | 9 +++-- .../README.md | 8 ++--- .../index.html | 2 +- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 0 .../README.es.md | 7 ++-- .../README.md | 5 ++- .../index.html | 0 .../solution.hide.html | 2 +- .../styles.css | 0 .../test.js | 0 .../README.es.md | 2 +- .../README.md | 2 +- .../index.html | 2 +- .../solution.hide.html | 2 +- .../styles.css | 0 .../test.js | 0 .../README.es.md | 5 ++- .../README.md | 6 ++-- .../index.html | 2 +- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 0 .../README.es.md | 6 ++-- .../README.md | 6 ++-- .../index.html | 4 +-- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 2 +- .../README.es.md | 8 ++--- .../README.md | 9 +++-- .../index.html | 4 +-- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 0 .../README.es.md | 8 ++--- .../README.md | 8 ++--- .../index.html | 2 +- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 0 .../README.es.md | 6 ++-- .../README.md | 7 ++-- .../index.html | 2 +- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 0 .../README.es.md | 4 +-- .../README.md | 4 +-- .../index.html | 2 +- .../solution.hide.css | 2 +- .../solution.hide.html | 4 +-- .../styles.css | 0 .../tests.js | 2 +- .../README.es.md | 6 ++-- .../README.md | 2 +- .../index.html | 2 +- .../solution.hide.html | 2 +- .../styles.css | 0 .../tests.js | 0 .../README.es.md | 17 +++++----- .../README.md | 17 +++++----- .../index.html | 2 +- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 0 .../README.es.md | 4 +-- .../README.md | 4 +-- .../index.html | 2 +- .../solution.hide.css | 0 .../styles.css | 0 .../tests.js | 0 132 files changed, 288 insertions(+), 233 deletions(-) create mode 100644 .learn/resets/01-inline-styles/index.html create mode 100644 .learn/resets/02-style-tag/index.html rename exercises/{00-Welcome => 00-welcome}/README.es.md (70%) rename exercises/{00-Welcome => 00-welcome}/README.md (71%) delete mode 100644 exercises/00.1-Inline-Styles/README.es.md delete mode 100644 exercises/00.1-Inline-Styles/index.html delete mode 100644 exercises/00.1-Inline-Styles/solution.hide.html delete mode 100644 exercises/01-Style-tag/index.html create mode 100644 exercises/01-inline-styles/README.es.md rename exercises/{00.1-Inline-Styles => 01-inline-styles}/README.md (67%) create mode 100644 exercises/01-inline-styles/index.html create mode 100644 exercises/01-inline-styles/solution.hide.html create mode 100644 exercises/01-inline-styles/tests.js delete mode 100644 exercises/01.1-Add-a-style-tag/index.html delete mode 100644 exercises/02-Separate-Stylesheet/solution.hide.css delete mode 100644 exercises/02-Separate-Stylesheet/styles.css rename exercises/{01-Style-tag => 02-style-tag}/README.es.md (78%) rename exercises/{01-Style-tag => 02-style-tag}/README.md (74%) create mode 100644 exercises/02-style-tag/index.html rename exercises/{01-Style-tag => 02-style-tag}/solution.hide.html (100%) rename exercises/{01-Style-tag => 02-style-tag}/test.js (100%) rename exercises/{01.1-Add-a-style-tag => 02.1-add-a-style-tag}/README.es.md (95%) rename exercises/{01.1-Add-a-style-tag => 02.1-add-a-style-tag}/README.md (94%) create mode 100644 exercises/02.1-add-a-style-tag/index.html rename exercises/{01.1-Add-a-style-tag => 02.1-add-a-style-tag}/solution.hide.html (70%) rename exercises/{01.1-Add-a-style-tag => 02.1-add-a-style-tag}/test.js (100%) rename exercises/{01.2-RGBA-colors => 02.2-rbga-colors}/README.es.md (95%) rename exercises/{01.2-RGBA-colors => 02.2-rbga-colors}/README.md (95%) rename exercises/{01.2-RGBA-colors => 02.2-rbga-colors}/index.html (100%) rename exercises/{01.2-RGBA-colors => 02.2-rbga-colors}/solution.hide.html (100%) rename exercises/{01.2-RGBA-colors => 02.2-rbga-colors}/tests.js (100%) rename exercises/{01.3-Your-Second-Style => 02.3-your-second-style}/README.es.md (96%) rename exercises/{01.3-Your-Second-Style => 02.3-your-second-style}/README.md (95%) rename exercises/{01.3-Your-Second-Style => 02.3-your-second-style}/index.html (100%) rename exercises/{01.3-Your-Second-Style => 02.3-your-second-style}/solution.hide.html (100%) rename exercises/{01.3-Your-Second-Style => 02.3-your-second-style}/tests.js (100%) rename exercises/{02-Separate-Stylesheet => 03-separate-stylesheet}/README.es.md (95%) rename exercises/{02-Separate-Stylesheet => 03-separate-stylesheet}/README.md (95%) rename exercises/{02-Separate-Stylesheet => 03-separate-stylesheet}/index.html (100%) create mode 100644 exercises/03-separate-stylesheet/solution.hide.css create mode 100644 exercises/03-separate-stylesheet/styles.css rename exercises/{02-Separate-Stylesheet => 03-separate-stylesheet}/tests.js (100%) rename exercises/{02.1-Background => 03.1-background}/README.es.md (98%) rename exercises/{02.1-Background => 03.1-background}/README.md (98%) rename exercises/{02.1-Background => 03.1-background}/index.html (85%) rename exercises/{02.1-Background => 03.1-background}/solution.hide.css (100%) rename exercises/{02.1-Background => 03.1-background}/styles.css (100%) rename exercises/{02.1-Background => 03.1-background}/tests.js (97%) rename exercises/{03-list-styling => 04-list-styling}/README.es.md (71%) rename exercises/{03-list-styling => 04-list-styling}/README.md (92%) rename exercises/{03-list-styling => 04-list-styling}/index.html (96%) rename exercises/{03-list-styling => 04-list-styling}/styles.css (100%) rename exercises/{03-list-styling => 04-list-styling}/test.js (96%) rename exercises/{04-Class-Selector => 05-class-selector}/README.es.md (81%) rename exercises/{04-Class-Selector => 05-class-selector}/README.md (79%) rename exercises/{04-Class-Selector => 05-class-selector}/index.html (82%) rename exercises/{04-Class-Selector => 05-class-selector}/solution.hide.html (84%) rename exercises/{04-Class-Selector => 05-class-selector}/styles.css (100%) rename exercises/{04-Class-Selector => 05-class-selector}/test.js (96%) rename exercises/{04.1-Combined-Rules => 05.1-combined-rules}/README.es.md (85%) rename exercises/{04.1-Combined-Rules => 05.1-combined-rules}/README.md (85%) rename exercises/{04.1-Combined-Rules => 05.1-combined-rules}/index.html (81%) rename exercises/{04.1-Combined-Rules => 05.1-combined-rules}/solution.hide.css (100%) rename exercises/{04.1-Combined-Rules => 05.1-combined-rules}/styles.css (100%) rename exercises/{04.1-Combined-Rules => 05.1-combined-rules}/tests.js (100%) rename exercises/{04.2-Apply-several-classes => 05.2-apply-several-classes}/README.es.md (82%) rename exercises/{04.2-Apply-several-classes => 05.2-apply-several-classes}/README.md (85%) rename exercises/{04.2-Apply-several-classes => 05.2-apply-several-classes}/index.html (100%) rename exercises/{04.2-Apply-several-classes => 05.2-apply-several-classes}/solution.hide.html (78%) rename exercises/{04.2-Apply-several-classes => 05.2-apply-several-classes}/styles.css (100%) rename exercises/{04.2-Apply-several-classes => 05.2-apply-several-classes}/test.js (100%) rename exercises/{04.3-id-Selector => 05.3-id-selector}/README.es.md (94%) rename exercises/{04.3-id-Selector => 05.3-id-selector}/README.md (94%) rename exercises/{04.3-id-Selector => 05.3-id-selector}/index.html (90%) rename exercises/{04.3-id-Selector => 05.3-id-selector}/solution.hide.html (91%) rename exercises/{04.3-id-Selector => 05.3-id-selector}/styles.css (100%) rename exercises/{04.3-id-Selector => 05.3-id-selector}/test.js (100%) rename exercises/{05-Specificity => 06-specificity}/README.es.md (85%) rename exercises/{05-Specificity => 06-specificity}/README.md (92%) rename exercises/{05-Specificity => 06-specificity}/index.html (93%) rename exercises/{05-Specificity => 06-specificity}/solution.hide.css (100%) rename exercises/{05-Specificity => 06-specificity}/styles.css (100%) rename exercises/{05-Specificity => 06-specificity}/tests.js (100%) rename exercises/{06-Practicing-Rules => 07-practicing-rules}/README.es.md (87%) rename exercises/{06-Practicing-Rules => 07-practicing-rules}/README.md (86%) rename exercises/{06-Practicing-Rules => 07-practicing-rules}/index.html (91%) rename exercises/{06-Practicing-Rules => 07-practicing-rules}/solution.hide.css (100%) rename exercises/{06-Practicing-Rules => 07-practicing-rules}/styles.css (100%) rename exercises/{06-Practicing-Rules => 07-practicing-rules}/tests.js (98%) rename exercises/{07-Very-Specific-Rules => 08-very-specific-rules}/README.es.md (72%) rename exercises/{07-Very-Specific-Rules => 08-very-specific-rules}/README.md (72%) rename exercises/{07-Very-Specific-Rules => 08-very-specific-rules}/index.html (93%) rename exercises/{07-Very-Specific-Rules => 08-very-specific-rules}/solution.hide.css (100%) rename exercises/{07-Very-Specific-Rules => 08-very-specific-rules}/styles.css (100%) rename exercises/{07-Very-Specific-Rules => 08-very-specific-rules}/tests.js (100%) rename exercises/{08-Rounded-Image => 09-rounded-image}/README.es.md (70%) rename exercises/{08-Rounded-Image => 09-rounded-image}/README.md (71%) rename exercises/{08-Rounded-Image => 09-rounded-image}/index.html (91%) rename exercises/{08-Rounded-Image => 09-rounded-image}/solution.hide.css (100%) rename exercises/{08-Rounded-Image => 09-rounded-image}/styles.css (100%) rename exercises/{08-Rounded-Image => 09-rounded-image}/tests.js (100%) rename exercises/{09-Anchor-Styles => 10-anchor-styles}/README.es.md (82%) rename exercises/{09-Anchor-Styles => 10-anchor-styles}/README.md (75%) rename exercises/{09-Anchor-Styles => 10-anchor-styles}/index.html (88%) rename exercises/{09-Anchor-Styles => 10-anchor-styles}/solution.hide.css (100%) rename exercises/{09-Anchor-Styles => 10-anchor-styles}/styles.css (100%) rename exercises/{09-Anchor-Styles => 10-anchor-styles}/tests.js (100%) rename exercises/{10-Your-Own-Font => 11-your-own-font}/README.es.md (94%) rename exercises/{10-Your-Own-Font => 11-your-own-font}/README.md (94%) rename exercises/{10-Your-Own-Font => 11-your-own-font}/index.html (89%) rename exercises/{10-Your-Own-Font => 11-your-own-font}/solution.hide.css (91%) rename exercises/{10-Your-Own-Font => 11-your-own-font}/solution.hide.html (83%) rename exercises/{10-Your-Own-Font => 11-your-own-font}/styles.css (100%) rename exercises/{10-Your-Own-Font => 11-your-own-font}/tests.js (95%) rename exercises/{11-Font-Awesome-Icons => 12-font-awesome-icons}/README.es.md (80%) rename exercises/{11-Font-Awesome-Icons => 12-font-awesome-icons}/README.md (97%) rename exercises/{11-Font-Awesome-Icons => 12-font-awesome-icons}/index.html (91%) rename exercises/{11-Font-Awesome-Icons => 12-font-awesome-icons}/solution.hide.html (93%) rename exercises/{11-Font-Awesome-Icons => 12-font-awesome-icons}/styles.css (100%) rename exercises/{11-Font-Awesome-Icons => 12-font-awesome-icons}/tests.js (100%) rename exercises/{12-Relative-Length-EM-REM => 13-relative-length-em-rem}/README.es.md (64%) rename exercises/{12-Relative-Length-EM-REM => 13-relative-length-em-rem}/README.md (61%) rename exercises/{12-Relative-Length-EM-REM => 13-relative-length-em-rem}/index.html (92%) rename exercises/{12-Relative-Length-EM-REM => 13-relative-length-em-rem}/solution.hide.css (100%) rename exercises/{12-Relative-Length-EM-REM => 13-relative-length-em-rem}/styles.css (100%) rename exercises/{12-Relative-Length-EM-REM => 13-relative-length-em-rem}/tests.js (100%) rename exercises/{13-Anchor-Like-Button => 14-anchor-like-button}/README.es.md (91%) rename exercises/{13-Anchor-Like-Button => 14-anchor-like-button}/README.md (90%) rename exercises/{13-Anchor-Like-Button => 14-anchor-like-button}/index.html (87%) rename exercises/{13-Anchor-Like-Button => 14-anchor-like-button}/solution.hide.css (100%) rename exercises/{13-Anchor-Like-Button => 14-anchor-like-button}/styles.css (100%) rename exercises/{13-Anchor-Like-Button => 14-anchor-like-button}/tests.js (100%) diff --git a/.learn/resets/01-inline-styles/index.html b/.learn/resets/01-inline-styles/index.html new file mode 100644 index 00000000..75056c8e --- /dev/null +++ b/.learn/resets/01-inline-styles/index.html @@ -0,0 +1,17 @@ + + + + 01 Inline Styles + + + + + + + + + + +
Hello
My brother
+ + 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 @@ + +

+ 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. +

diff --git a/exercises/01.1-Add-a-style-tag/solution.hide.html b/exercises/02.1-add-a-style-tag/solution.hide.html similarity index 70% rename from exercises/01.1-Add-a-style-tag/solution.hide.html rename to exercises/02.1-add-a-style-tag/solution.hide.html index 85bac8dd..f13616dc 100644 --- a/exercises/01.1-Add-a-style-tag/solution.hide.html +++ b/exercises/02.1-add-a-style-tag/solution.hide.html @@ -7,6 +7,6 @@

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.

diff --git a/exercises/01.1-Add-a-style-tag/test.js b/exercises/02.1-add-a-style-tag/test.js similarity index 100% rename from exercises/01.1-Add-a-style-tag/test.js rename to exercises/02.1-add-a-style-tag/test.js diff --git a/exercises/01.2-RGBA-colors/README.es.md b/exercises/02.2-rbga-colors/README.es.md similarity index 95% rename from exercises/01.2-RGBA-colors/README.es.md rename to exercises/02.2-rbga-colors/README.es.md index e7c6ab3d..e448639a 100644 --- a/exercises/01.2-RGBA-colors/README.es.md +++ b/exercises/02.2-rbga-colors/README.es.md @@ -2,7 +2,7 @@ tutorial: "https://www.youtube.com/watch?v=8RntHMOAFqI" --- -# `01.2` Your First Style +# `02.2` Your First Style Cuando usas CSS, la idea es aplicar `reglas css` a tus `elementos html`, siempre debes seleccionar primero el elemento y luego especificar qué reglas deseas aplicarle: diff --git a/exercises/01.2-RGBA-colors/README.md b/exercises/02.2-rbga-colors/README.md similarity index 95% rename from exercises/01.2-RGBA-colors/README.md rename to exercises/02.2-rbga-colors/README.md index e6181ea4..a47fb128 100644 --- a/exercises/01.2-RGBA-colors/README.md +++ b/exercises/02.2-rbga-colors/README.md @@ -1,7 +1,8 @@ --- tutorial: "https://www.youtube.com/watch?v=TqmY9GLTwQ0" --- -# `01.2` Your First Style + +# `02.2` Your First Style When doing CSS, the idea is to apply `css rules` to your `html elements`, you always have to select the element first, and then specify what rules you want to apply to it: diff --git a/exercises/01.2-RGBA-colors/index.html b/exercises/02.2-rbga-colors/index.html similarity index 100% rename from exercises/01.2-RGBA-colors/index.html rename to exercises/02.2-rbga-colors/index.html diff --git a/exercises/01.2-RGBA-colors/solution.hide.html b/exercises/02.2-rbga-colors/solution.hide.html similarity index 100% rename from exercises/01.2-RGBA-colors/solution.hide.html rename to exercises/02.2-rbga-colors/solution.hide.html diff --git a/exercises/01.2-RGBA-colors/tests.js b/exercises/02.2-rbga-colors/tests.js similarity index 100% rename from exercises/01.2-RGBA-colors/tests.js rename to exercises/02.2-rbga-colors/tests.js diff --git a/exercises/01.3-Your-Second-Style/README.es.md b/exercises/02.3-your-second-style/README.es.md similarity index 96% rename from exercises/01.3-Your-Second-Style/README.es.md rename to exercises/02.3-your-second-style/README.es.md index 8ed8ad02..a6e3630c 100644 --- a/exercises/01.3-Your-Second-Style/README.es.md +++ b/exercises/02.3-your-second-style/README.es.md @@ -2,7 +2,7 @@ tutorial: "https://www.youtube.com/watch?v=vTS0D_QrbH8" --- -# `01.3` Your Second Style +# `02.3` Your Second Style Cuando usas CSS, la idea es aplicar `reglas css` a tus `elementos html`, siempre debes seleccionar primero el elemento y luego especificar qué reglas deseas aplicarle: diff --git a/exercises/01.3-Your-Second-Style/README.md b/exercises/02.3-your-second-style/README.md similarity index 95% rename from exercises/01.3-Your-Second-Style/README.md rename to exercises/02.3-your-second-style/README.md index d090ecb0..8918e346 100644 --- a/exercises/01.3-Your-Second-Style/README.md +++ b/exercises/02.3-your-second-style/README.md @@ -2,7 +2,7 @@ tutorial: "https://www.youtube.com/watch?v=ituoKgAh6ds" --- -# `01.3` Your Second Style +# `02.3` Your Second Style When doing CSS, the idea is to apply `css rules` to your `html elements`, you always have to select the element first, and then specify what rules you want to apply to it: diff --git a/exercises/01.3-Your-Second-Style/index.html b/exercises/02.3-your-second-style/index.html similarity index 100% rename from exercises/01.3-Your-Second-Style/index.html rename to exercises/02.3-your-second-style/index.html diff --git a/exercises/01.3-Your-Second-Style/solution.hide.html b/exercises/02.3-your-second-style/solution.hide.html similarity index 100% rename from exercises/01.3-Your-Second-Style/solution.hide.html rename to exercises/02.3-your-second-style/solution.hide.html diff --git a/exercises/01.3-Your-Second-Style/tests.js b/exercises/02.3-your-second-style/tests.js similarity index 100% rename from exercises/01.3-Your-Second-Style/tests.js rename to exercises/02.3-your-second-style/tests.js diff --git a/exercises/02-Separate-Stylesheet/README.es.md b/exercises/03-separate-stylesheet/README.es.md similarity index 95% rename from exercises/02-Separate-Stylesheet/README.es.md rename to exercises/03-separate-stylesheet/README.es.md index de8849f2..4f1023ec 100644 --- a/exercises/02-Separate-Stylesheet/README.es.md +++ b/exercises/03-separate-stylesheet/README.es.md @@ -2,7 +2,7 @@ tutorial: "https://www.youtube.com/watch?v=MmnkVGINtbs" --- -# `02` Separate Stylesheet +# `03` Separate Stylesheet Si usas la etiqueta html ``, puedes tener tus estilos en un archivo separado que normalmente se llama `styles.css`. diff --git a/exercises/02-Separate-Stylesheet/README.md b/exercises/03-separate-stylesheet/README.md similarity index 95% rename from exercises/02-Separate-Stylesheet/README.md rename to exercises/03-separate-stylesheet/README.md index 0e5fb4d4..cbb2645a 100644 --- a/exercises/02-Separate-Stylesheet/README.md +++ b/exercises/03-separate-stylesheet/README.md @@ -2,7 +2,7 @@ tutorial: "https://www.youtube.com/watch?v=jAfXzx88i-4" --- -# `02` Separate Stylesheet +# `03` Separate Stylesheet If you use the html `` tag, you can also have your styles on a separate file that we usually call `styles.css`. diff --git a/exercises/02-Separate-Stylesheet/index.html b/exercises/03-separate-stylesheet/index.html similarity index 100% rename from exercises/02-Separate-Stylesheet/index.html rename to exercises/03-separate-stylesheet/index.html diff --git a/exercises/03-separate-stylesheet/solution.hide.css b/exercises/03-separate-stylesheet/solution.hide.css new file mode 100644 index 00000000..b1ea9493 --- /dev/null +++ b/exercises/03-separate-stylesheet/solution.hide.css @@ -0,0 +1,7 @@ +/* your styles here: + 1. Select the body tag + 2. Add the background rule equal to blue + */ +body { + background: blue; +} diff --git a/exercises/03-separate-stylesheet/styles.css b/exercises/03-separate-stylesheet/styles.css new file mode 100644 index 00000000..fb551ff2 --- /dev/null +++ b/exercises/03-separate-stylesheet/styles.css @@ -0,0 +1,4 @@ +/* your styles here: + 1. Select the body tag + 2. Add the background rule equal to blue + */ diff --git a/exercises/02-Separate-Stylesheet/tests.js b/exercises/03-separate-stylesheet/tests.js similarity index 100% rename from exercises/02-Separate-Stylesheet/tests.js rename to exercises/03-separate-stylesheet/tests.js diff --git a/exercises/02.1-Background/README.es.md b/exercises/03.1-background/README.es.md similarity index 98% rename from exercises/02.1-Background/README.es.md rename to exercises/03.1-background/README.es.md index 55debc05..e0af7277 100644 --- a/exercises/02.1-Background/README.es.md +++ b/exercises/03.1-background/README.es.md @@ -2,7 +2,7 @@ tutorial: "https://www.youtube.com/watch?v=a1ACEu996z4" --- -# `02.1` Background +# `03.1` Background La regla `background` (fondo) de CSS nos permite asignar y trabajar con el background de cualquier contenedor (container). Los valores de background pueden ser `color` o una `imagen`. diff --git a/exercises/02.1-Background/README.md b/exercises/03.1-background/README.md similarity index 98% rename from exercises/02.1-Background/README.md rename to exercises/03.1-background/README.md index 726d36b1..3580ab7e 100644 --- a/exercises/02.1-Background/README.md +++ b/exercises/03.1-background/README.md @@ -2,7 +2,7 @@ tutorial: "https://www.youtube.com/watch?v=fQh2OulBSp8" --- -# `02.1` Background +# `03.1` Background 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`. @@ -10,7 +10,6 @@ If it is an image, you can specify if you want the image to be repeated horizont ## 📝 Instructions: - 1. Run the exercise. 2. Check the Preview. diff --git a/exercises/02.1-Background/index.html b/exercises/03.1-background/index.html similarity index 85% rename from exercises/02.1-Background/index.html rename to exercises/03.1-background/index.html index cf841f1e..a1227330 100644 --- a/exercises/02.1-Background/index.html +++ b/exercises/03.1-background/index.html @@ -2,7 +2,7 @@ - 02 Background + 03.1 Background My background should be an image with the size "contain" diff --git a/exercises/02.1-Background/solution.hide.css b/exercises/03.1-background/solution.hide.css similarity index 100% rename from exercises/02.1-Background/solution.hide.css rename to exercises/03.1-background/solution.hide.css diff --git a/exercises/02.1-Background/styles.css b/exercises/03.1-background/styles.css similarity index 100% rename from exercises/02.1-Background/styles.css rename to exercises/03.1-background/styles.css diff --git a/exercises/02.1-Background/tests.js b/exercises/03.1-background/tests.js similarity index 97% rename from exercises/02.1-Background/tests.js rename to exercises/03.1-background/tests.js index b0612a23..f6f28551 100644 --- a/exercises/02.1-Background/tests.js +++ b/exercises/03.1-background/tests.js @@ -48,6 +48,6 @@ describe("All the styles should be applied", ()=>{ expect(href).toBe('./styles.css') let titleInner = title.innerHTML - expect(titleInner).toBe('02 Background') + expect(titleInner).toBe('03.1 Background') }) }); diff --git a/exercises/03-list-styling/README.es.md b/exercises/04-list-styling/README.es.md similarity index 71% rename from exercises/03-list-styling/README.es.md rename to exercises/04-list-styling/README.es.md index 059cf653..7d267da2 100644 --- a/exercises/03-list-styling/README.es.md +++ b/exercises/04-list-styling/README.es.md @@ -2,7 +2,7 @@ tutorial: "https://www.youtube.com/watch?v=qcx31wUVmqI" --- -# `03` Estilo de listas +# `04` List styling En el desarrollo front end, a menudo tenemos que listar ítems y la forma de hacerlo es con las etiquetas `