diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index fa719874..18991c69 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -22,7 +22,7 @@ // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - "onCreateCommand": "npm i jest@24.8.0 -g && npm i @learnpack/learnpack@2.1.26 -g && learnpack plugins:install learnpack-html@0.0.20" + "onCreateCommand": "npm i jest@29.7.0 jest-environment-jsdom@29.7.0 -g && npm i @learnpack/learnpack@5.0.13 -g && learnpack plugins:install @learnpack/html@1.1.7" // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "yarn install", diff --git a/.github/workflows/learnpack-audit.yml b/.github/workflows/learnpack-audit.yml index 52644d89..95814c2a 100644 --- a/.github/workflows/learnpack-audit.yml +++ b/.github/workflows/learnpack-audit.yml @@ -5,9 +5,9 @@ name: Learnpack audit on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index c303edbf..6e137a77 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -3,5 +3,4 @@ FROM gitpod/workspace-full:latest USER gitpod -RUN npm i jest@24.8.0 -g -RUN npm i @learnpack/learnpack@2.1.26 -g && learnpack plugins:install learnpack-html@0.0.20 +RUN npm i jest@29.7.0 jest-environment-jsdom@29.7.0 -g && npm i @learnpack/learnpack@2.1.47 -g && learnpack plugins:install @learnpack/html@1.1.7 diff --git a/README.es.md b/README.es.md index 77217f4a..23cb7b39 100644 --- a/README.es.md +++ b/README.es.md @@ -88,11 +88,11 @@ Cada ejercicio es una pequeña aplicación de React que contiene los siguientes 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: (codificador) 💻 (idea) 🤔, (build-tests) ⚠️ , (pull-request-review) 🤓 (tutorial de compilación) ✅ (documentación) 📖 +1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (codificador) 💻 (idea) 🤔, (run-tests) ⚠️ , (pull-request-review) 🤓 (tutorial de compilación) ✅ (documentación) 📖 2. [David Hay (haydavid23)](https://github.com/haydavid23), contribución: (tests) ⚠️ -3. [Daniel Machota (@d4rkm0nst3r)](https://github.com/d4rkm0nst3r), contribución: (build-tutorial) ✅, Traducción 🌍 +3. [Daniel Machota (@d4rkm0nst3r)](https://github.com/d4rkm0nst3r), contribución: (run-tutorial) ✅, Traducción 🌍 Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas! diff --git a/README.md b/README.md index 98dbe61b..5e663733 100644 --- a/README.md +++ b/README.md @@ -90,11 +90,11 @@ Each exercise is a small React application containing the following files: Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): -1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) 💻 (idea) 🤔, (build-tests) ⚠️ , (pull-request-review) 👀 (build-tutorial) ✅ (documentation) 📖 +1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) 💻 (idea) 🤔, (run-tests) ⚠️ , (pull-request-review) 👀 (run-tutorial) ✅ (documentation) 📖 2. [Paolo (plucodev)](https://github.com/plucodev), contribution: (bug reports) 🐛, contribution: (coder), (translation) 🌎 -3. [Daniel Machota (@d4rkm0nst3r)](https://github.com/d4rkm0nst3r), contribution: (build-tutorial) ✅, Translation 🌍 +3. [Daniel Machota (@d4rkm0nst3r)](https://github.com/d4rkm0nst3r), contribution: (run-tutorial) ✅, Translation 🌍 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). diff --git a/exercises/00-Welcome/README.es.md b/exercises/00-welcome/README.es.md similarity index 67% rename from exercises/00-Welcome/README.es.md rename to exercises/00-welcome/README.es.md index 5a823d55..0f0eff0d 100644 --- a/exercises/00-Welcome/README.es.md +++ b/exercises/00-welcome/README.es.md @@ -1,5 +1,5 @@ --- -intro: "https://www.youtube.com/watch?v=BDKdUPDez-U" +intro: "https://www.youtube.com/watch?v=mZPmxx18kXo" --- # ¡¡Bienvenido a los ejercicios de CSS!! @@ -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) 🤔, (build-tests) :warning:, (pull-request-review) :eyes: (build-tutorial) :white_check_mark: (documentation) :book: -1. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribución: (programador), (build-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 62% rename from exercises/00-Welcome/README.md rename to exercises/00-welcome/README.md index 13dbfe77..e7048125 100644 --- a/exercises/00-Welcome/README.md +++ b/exercises/00-welcome/README.md @@ -1,14 +1,14 @@ --- -intro: "https://www.youtube.com/watch?v=BDKdUPDez-U" +intro: "https://www.youtube.com/watch?v=AuXnQHKhjxw" --- # 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 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 50% rename from exercises/01.1-Add-a-style-tag/README.md rename to exercises/02.1-add-a-style-tag/README.md index 8e1fcf6b..f77ce8c4 100644 --- a/exercises/01.1-Add-a-style-tag/README.md +++ b/exercises/02.1-add-a-style-tag/README.md @@ -1,13 +1,13 @@ --- -tutorial: "https://www.youtube.com/watch?v=C5sOchuD2d4" +tutorial: "https://www.youtube.com/watch?v=K1SrZxiiM6I" --- -# `01.1` The Style Tag +# `02.1` The Style Tag -If you want to add styles into a website by writing CSS you always have to add it within a ` 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 85% rename from exercises/01.2-RGBA-colors/README.es.md rename to exercises/02.2-rbga-colors/README.es.md index d0d8be4b..e448639a 100644 --- a/exercises/01.2-RGBA-colors/README.es.md +++ b/exercises/02.2-rbga-colors/README.es.md @@ -1,4 +1,8 @@ -# `01.2` Your First Style +--- +tutorial: "https://www.youtube.com/watch?v=8RntHMOAFqI" +--- + +# `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 84% rename from exercises/01.2-RGBA-colors/README.md rename to exercises/02.2-rbga-colors/README.md index 70e0209f..a47fb128 100644 --- a/exercises/01.2-RGBA-colors/README.md +++ b/exercises/02.2-rbga-colors/README.md @@ -1,5 +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 86% rename from exercises/01.3-Your-Second-Style/README.es.md rename to exercises/02.3-your-second-style/README.es.md index 70a3e7fd..a6e3630c 100644 --- a/exercises/01.3-Your-Second-Style/README.es.md +++ b/exercises/02.3-your-second-style/README.es.md @@ -1,4 +1,8 @@ -# `01.3` Your Second Style +--- +tutorial: "https://www.youtube.com/watch?v=vTS0D_QrbH8" +--- + +# `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 71% rename from exercises/01.3-Your-Second-Style/README.md rename to exercises/02.3-your-second-style/README.md index 74f39c93..8918e346 100644 --- a/exercises/01.3-Your-Second-Style/README.md +++ b/exercises/02.3-your-second-style/README.md @@ -1,8 +1,8 @@ --- -tutorial: "https://www.youtube.com/watch?v=W0CAqLIAoZI" +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: @@ -18,4 +18,4 @@ a { 1. Make your website background blue by selecting the `body` and applying the `background` rule with a `blue` value. -2. Build and preview the exercise and your result should be a blue `body` (the whole page blue). +2. Run and preview the exercise and your result should be a blue `body` (the whole page blue). 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/03-list-styling/README.es.md b/exercises/03-list-styling/README.es.md deleted file mode 100644 index e9fd849b..00000000 --- a/exercises/03-list-styling/README.es.md +++ /dev/null @@ -1,29 +0,0 @@ -# `03` Estilo de listas - -En el desarrollo front end, a menudo tenemos que listar ítems y la forma de hacerlo es con las etiquetas `