├── .devcontainer └── devcontainer.json ├── .github └── workflows │ └── learnpack-audit.yml ├── .gitignore ├── .gitpod.dockerfile ├── .gitpod.yml ├── .learn └── assets │ ├── 01.2-Like-Word.png │ ├── 02-website-structure.png │ ├── 03-hello-without-head.png │ ├── 04-list-of-reasons.png │ ├── 05-create-anchors.png │ ├── 09-formating-text.png │ ├── 10-replicate-html.png │ ├── 11-nested-tags-1.png │ ├── 11-nested-tags-2.png │ ├── 11-nested-tags-3.png │ ├── 12-my-first-table-0.png │ ├── 12-my-first-table.png │ ├── 13-images-with-text-2.png │ ├── 13-images-with-text.jpg │ ├── absolute-path-vs-relative-path.png │ ├── build.png │ ├── logo.ico │ ├── open-in-gitpod.svg │ └── preview-01.1.png ├── .vscode └── settings.json ├── HTML-badge.png ├── LICENSE.md ├── README.es.md ├── README.md ├── exercises ├── 00-welcome │ ├── README.es.md │ └── README.md ├── 01-hello-world │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 01.1-like-word │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 02-website-structure │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 03-hello-without-head │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 04-list-of-reasons │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 05-create-anchors │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 06-new-window │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 07-same-page │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 08-relative-vs-absolute-path │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 09-formatting-Text │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 10-replicate-html │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 11-nested-tags │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 12-my-first-table │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 13-image-with-text │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── 14-video-tag │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js └── 15-iframe │ ├── README.es.md │ ├── README.md │ ├── index.html │ ├── solution.hide.html │ └── tests.js ├── learn.json └── preview.png /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | 2 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the 3 | // README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node 4 | { 5 | "name": "Node.js", 6 | // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile 7 | "image": "mcr.microsoft.com/devcontainers/javascript-node:0-16", 8 | "customizations": { 9 | "vscode": { 10 | "settings": { 11 | "editor.defaultFormatter": "esbenp.prettier-vscode", 12 | "workbench.editorAssociations": { 13 | "*.md": "vscode.markdown.preview.editor" 14 | } 15 | }, 16 | "extensions": ["learn-pack.learnpack-vscode"] 17 | } 18 | }, 19 | 20 | // Features to add to the dev container. More info: https://containers.dev/features. 21 | // "features": {}, 22 | 23 | // Use 'forwardPorts' to make a list of ports inside the container available locally. 24 | // "forwardPorts": [], 25 | 26 | "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" 27 | 28 | // Use 'postCreateCommand' to run commands after the container is created. 29 | // "postCreateCommand": "yarn install", 30 | 31 | // Configure tool-specific properties. 32 | // "customizations": {}, 33 | 34 | // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. 35 | // "remoteUser": "root" 36 | } 37 | -------------------------------------------------------------------------------- /.github/workflows/learnpack-audit.yml: -------------------------------------------------------------------------------- 1 | # This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions 3 | 4 | name: Learnpack audit 5 | 6 | on: 7 | push: 8 | branches: [ main ] 9 | pull_request: 10 | branches: [ main ] 11 | 12 | jobs: 13 | build: 14 | 15 | runs-on: ubuntu-latest 16 | 17 | strategy: 18 | matrix: 19 | node-version: [20.x] 20 | # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ 21 | 22 | steps: 23 | - uses: actions/checkout@v2 24 | - name: Use Node.js ${{ matrix.node-version }} 25 | uses: actions/setup-node@v2 26 | with: 27 | node-version: ${{ matrix.node-version }} 28 | - run: npm install @learnpack/learnpack@latest -g 29 | - run: learnpack audit -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything 2 | /* 3 | 4 | !.gitignore 5 | !.gitpod.yml 6 | !.gitpod.Dockerfile 7 | !bc.json 8 | !learn.json 9 | !README.md 10 | !README.es.md 11 | !.vscode 12 | 13 | !/exercises 14 | !/exercises/* 15 | 16 | !/.learn 17 | /.learn/** 18 | !/.learn/resets 19 | !/.learn/resets/** 20 | !/.learn/assets 21 | !/.learn/assets/** 22 | .DS_Store -------------------------------------------------------------------------------- /.gitpod.dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitpod/workspace-full:latest 2 | 3 | USER gitpod 4 | 5 | RUN npm i jest@29.7.0 jest-environment-jsdom@29.7.0 -g 6 | RUN npm i @learnpack/learnpack@2.1.47 -g && learnpack plugins:install @learnpack/html@1.1.7 7 | -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- 1 | image: 2 | file: .gitpod.dockerfile 3 | 4 | ports: 5 | - port: 3000 6 | onOpen: ignore 7 | 8 | vscode: 9 | extensions: 10 | - learn-pack.learnpack-vscode 11 | 12 | github: 13 | prebuilds: 14 | # enable for the master/default branch (defaults to true) 15 | master: true 16 | # enable for pull requests coming from this repo (defaults to true) 17 | pullRequests: false 18 | # add a "Review in Gitpod" button as a comment to pull requests (defaults to true) 19 | addComment: false 20 | -------------------------------------------------------------------------------- /.learn/assets/01.2-Like-Word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/01.2-Like-Word.png -------------------------------------------------------------------------------- /.learn/assets/02-website-structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/02-website-structure.png -------------------------------------------------------------------------------- /.learn/assets/03-hello-without-head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/03-hello-without-head.png -------------------------------------------------------------------------------- /.learn/assets/04-list-of-reasons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/04-list-of-reasons.png -------------------------------------------------------------------------------- /.learn/assets/05-create-anchors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/05-create-anchors.png -------------------------------------------------------------------------------- /.learn/assets/09-formating-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/09-formating-text.png -------------------------------------------------------------------------------- /.learn/assets/10-replicate-html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/10-replicate-html.png -------------------------------------------------------------------------------- /.learn/assets/11-nested-tags-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/11-nested-tags-1.png -------------------------------------------------------------------------------- /.learn/assets/11-nested-tags-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/11-nested-tags-2.png -------------------------------------------------------------------------------- /.learn/assets/11-nested-tags-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/11-nested-tags-3.png -------------------------------------------------------------------------------- /.learn/assets/12-my-first-table-0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/12-my-first-table-0.png -------------------------------------------------------------------------------- /.learn/assets/12-my-first-table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/12-my-first-table.png -------------------------------------------------------------------------------- /.learn/assets/13-images-with-text-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/13-images-with-text-2.png -------------------------------------------------------------------------------- /.learn/assets/13-images-with-text.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/13-images-with-text.jpg -------------------------------------------------------------------------------- /.learn/assets/absolute-path-vs-relative-path.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/absolute-path-vs-relative-path.png -------------------------------------------------------------------------------- /.learn/assets/build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/build.png -------------------------------------------------------------------------------- /.learn/assets/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/logo.ico -------------------------------------------------------------------------------- /.learn/assets/open-in-gitpod.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /.learn/assets/preview-01.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/.learn/assets/preview-01.1.png -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.autoSave": "afterDelay", 3 | "files.autoSaveDelay": 700, 4 | "editor.minimap.enabled": false, 5 | "workbench.editorAssociations": { 6 | "*.md": "vscode.markdown.preview.editor" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /HTML-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/4GeeksAcademy/html-tutorial-exercises-course/44c63926de4df1b8cf21c1a6c0efdbdffd069500/HTML-badge.png -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | By accessing Breathe Code we assume you accept these terms and conditions. Do not continue to use Breathe Code's content, applications or tutorials if you do not agree to take all of the terms and conditions stated on this page. 2 | 3 | Unless otherwise stated, Breathe Code and/or its licensors own the intellectual property rights for all material on Breathe Code. All intellectual property rights are reserved. You may access this from Breathe Code for your own personal use subjected to restrictions set in these terms and conditions. 4 | 5 | You must not: 6 | 7 | * Republish material from Breathe Code 8 | * Sell, rent or sub-license material from Breathe Code 9 | * Reproduce, duplicate or copy material from Breathe Code 10 | * Redistribute content from Breathe Code 11 | 12 | You can read the full version of Breathe Code's terms and conditions here: [Terms and Conditions](http://breatheco.de/terms-and-conditions) 13 | -------------------------------------------------------------------------------- /README.es.md: -------------------------------------------------------------------------------- 1 | # Tutorial de Ejercicios de HTML5 de 4Geeks Academy 2 | 3 | 4 | 5 | 6 | 7 | Por [@alesanchezr](https://twitter.com/alesanchezr) y [otros colaboradores](https://github.com/4GeeksAcadem/html-tutorial-exercises-course/graphs/contributors) de [4Geeks Academy](https://4geeksacademy.co/) 8 | 9 |

10 | last commit 11 | last commit 12 | last commit 13 |

14 | 15 | ¡Selección completa de ejercicios html autograduados para cualquier persona interesada en aprender HTML! 16 | 17 | ¡Hola! Soy [Alejandro Sanchez (Github: @alesanchezr)](https://github.com/alesanchezr), ¡muy emocionado de tenerte aquí! 🎉 😂 Aprender a programar es difícil, ¡necesitas entrenamiento! [Envíame un mensaje privado en Twitter](https://twitter.com/alesanchezr) si tienes alguna pregunta. 18 | 19 | 20 | 21 | ## Aprenderás los siguientes conceptos: 22 | 23 | 1. Familiarizarte con la mayoría de las etiquetas HTML más populares. 24 | 25 | 2. Usar varias etiquetas juntas para crear un sitio web HTML simple. 26 | 27 | 3. Vinculación de sitios web mediante enlaces (anchors) con rutas relativas o absolutas. 28 | 29 | 4. La etiqueta HTML de audio y video. 30 | 31 | 32 | #### Antes de empezar... otros tutoriales relacionados 33 | 34 |
    35 |
  1. Aprende HTML← 🔥 Estás aquí
  2. 36 |
  3. Aprende Formularios HTML5
  4. 37 |
  5. Aprende CSS
  6. 38 |
  7. Aprende CSS Layouts
  8. 39 |
  9. Aprende Bootstrap
  10. 40 |
41 | 42 | ## Instalación en un clic (recomendado) 43 | 44 | Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Codespaces](https://codespaces.new/?repo=4GeeksAcademy/html-tutorial-exercises-course) (recomendado) o [Abrir en Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/html-tutorial-exercises-course.git). 45 | 46 | > Una vez ya tengas abirto VSCode los ejercicios de LearnPack deberían empezar automáticamente, si esto no sucede puedes intentar empezar los ejercicios escribiendo este comando en tu terminal: `$ learnpack start` 47 | 48 | ## Instalación manual 49 | 50 | Clona el repositorio en tu ambiente local y sigue los siguientes pasos: 51 | 52 | 1. Instala learnpack, el package manager para tutoriales de aprendizaje y el html compiler plugin para learnpack, asegúrate también de tener node.js 14+: 53 | 54 | ```bash 55 | $ npm i @learnpack/learnpack -g 56 | ``` 57 | 58 | 2. Descarga estos ejercicios en particular y luego `cd` para entrar en la carpeta: 59 | 60 | ```bash 61 | $ git clone https://github.com/4GeeksAcademy/html-tutorial-exercises-course 62 | $ cd html-tutorial-exercises-course 63 | ``` 64 | 65 | > Nota: Una vez que termines de descargar, encontrarás una carpeta "exercises" que contiene todos los ejercicios. 66 | 67 | 3. Inicializa el tutorial/ejercicios ejecutando el siguiente comando en el mismo nivel donde se encuentra tu archivo learn.json: 68 | 69 | ```bash 70 | $ learnpack start 71 | ``` 72 | 73 | Para más detalles sobre instalación o cualquier otra cosa puedes referirte a la [documentacion de LearnPack](https://4geeks.com/es/docs/learnpack/quickstart-para-estudiantes). 74 | 75 | 76 | 77 | > Nota: Estos ejercicios tienen calificación automática. Los tests son muy rígidos y estrictos, mi recomendación es que no prestes demasiada atención a los tests y los uses solo como una sugerencia o podrías frustrarte. 78 | 79 | ## ¿Cómo están organizados los ejercicios? 80 | 81 | Cada ejercicio es una pequeña aplicación de React que contiene los siguientes archivos: 82 | 83 | 1. **index.js:** representa el archivo de entrada para toda la aplicación. 84 | 2. **README.md:** contiene las instrucciones de los ejercicios. 85 | 3. **test.js:** no tienes que abrir este archivo, contiene el script del test para el ejercicio. 86 | 87 | ## Colaboradores 88 | 89 | Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): 90 | 91 | 1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (codificador) 💻 (idea) 🤔, (build-tests) ⚠️ , (pull-request-review) 🤓 (tutorial de compilación) ✅ (documentación) 📖 92 | 93 | 2. [David Hay (haydavid23)](https://github.com/haydavid23), contribución: (tests) ⚠️ 94 | 95 | 3. [Daniel Machota (@d4rkm0nst3r)](https://github.com/d4rkm0nst3r), contribución: (build-tutorial) ✅, Traducción 🌍 96 | 97 | Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas! 98 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # HTML5 Exercises Tutorial at 4Geeks Academy 3 | 4 | 5 | By [@alesanchezr](https://twitter.com/alesanchezr) and [other contributors](https://github.com/4GeeksAcademy/html-tutorial-exercises-course/graphs/contributors) at [4Geeks Academy](https://4geeksacademy.co/) 6 | 7 |

8 | last commit 9 | last commit 10 | last commit 11 |

12 | 13 | Complete selection of autograded html exercises, anyone interested in learning HTML! 14 | 15 | Hi! I'm [Alejandro Sanchez @alesanchezr](https://github.com/alesanchezr), really excited to have you here! 🎉 😂 Learning to code is hard, you need coaching! [DM me on twitter](https://twitter.com/alesanchezr) if you have any questions. 16 | 17 | 18 | 19 | ## You'll be learning the following concepts: 20 | 21 | 1. Get familiar with a good deal of the most popular HTML Tags. 22 | 23 | 2. Using the tags together to create a simple HTML Website. 24 | 25 | 3. Linking websites together using Anchors with Relative or Absolute paths. 26 | 27 | 4. The HTML audio and video tag. 28 | 29 | 30 | 31 | #### Before we start... other related tutorials 32 | 33 |
    34 |
  1. Learn HTML← 🔥 You are here now
  2. 35 |
  3. Learn HTML5 Forms
  4. 36 |
  5. Learn CSS
  6. 37 |
  7. Learn CSS Layouts
  8. 38 |
  9. Learn Bootstrap
  10. 39 |
40 | 41 | ## One click installation (recommended): 42 | 43 | You can open these exercises in just a few seconds by clicking: [Open in Codespaces](https://github.com/codespaces/new/?repo=4GeeksAcademy/html-tutorial-exercises-course) (recommended) or [Open in Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/html-tutorial-exercises-course.git). 44 | 45 | > Once you have VSCode open the LearnPack exercises should start automatically. If exercises don't run automatically you can try typing on your terminal: `$ learnpack start` 46 | 47 | ## Manual installation 48 | 49 | Clone the repository in your local environment and follow the steps below: 50 | 51 | 1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 14+: 52 | 53 | ```sh 54 | $ npm i @learnpack/learnpack -g 55 | ``` 56 | 57 | 2. Download this particular exercise and `cd` into the folder: 58 | 59 | ```sh 60 | $ git clone https://github.com/4GeeksAcademy/html-tutorial-exercises-course 61 | $ cd html-tutorial-exercises-course 62 | ``` 63 | 64 | > Note: Once you finish downloading, you will find an "exercises" folder that contains all the exercises within. 65 | 66 | 3. Start the tutorial/exercises by running the following command at the same level where your learn.json file is: 67 | 68 | ```sh 69 | $ learnpack start 70 | ``` 71 | 72 | For more information or questions you can refer to the [LearnPack documentation](https://4geeks.com/docs/learnpack/quickstart-for-learners). 73 | 74 | 75 | 76 | > Note: The exercises have automatic grading, but it's very rigid and strict, my recommendation is to not take the tests too serious and use them only as a suggestion, or you may get frustrated. 77 | 78 | ## How are the exercises organized? 79 | 80 | Each exercise is a small React application containing the following files: 81 | 82 | 1. **index.js:** represents the entry file for the entire app. 83 | 2. **README.md:** contains exercise instructions. 84 | 3. **test.js:** you don't have to open this file, it contains the testing script for the exercise. 85 | 86 | ## Contributors 87 | 88 | Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): 89 | 90 | 1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) :computer: (idea) 🤔, (build-tests) :warning:, (pull-request-review) :eyes: (build-tutorial) ✅ (documentation) 📖 91 | 92 | 2. [David Hay (haydavid23)](https://github.com/haydavid23), contribution: (test) ⚠️ 93 | 94 | 3. [Daniel Machota (@d4rkm0nst3r)](https://github.com/d4rkm0nst3r), contribution: (build-tutorial) ✅, Translation 🌍 95 | 96 | This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome! 97 | -------------------------------------------------------------------------------- /exercises/00-welcome/README.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | intro: "https://www.youtube.com/embed/kDQAnCqGS-w?si=Hxm_0xsGUWmL4pfk" 3 | --- 4 | # ¡Bienvenidos! 5 | 6 | Te damos la bienvenida al mundo del HTML 🖖🧑‍💻 7 | 8 | ## 💬 Fundamentos: 9 | 10 | Hemos preparado estos ejercicios para cualquier persona interesada en aprender HTML desde cero. Durante este curso, repasaremos los siguientes conceptos: 11 | 12 | 1. Familiarizarse con la mayoría de las etiquetas HTML más populares. 13 | 14 | 2. Usar varias etiquetas juntas para crear un sitio web HTML simple. 15 | 16 | 3. Vinculación de sitios web mediante enlaces (anchors) con rutas relativas o absolutas. 17 | 18 | 4. La etiqueta HTML de audio y video. 19 | 20 | > 🔹 Nosotros construimos los ejercicios incrementalmente, deberías sentir el progreso poco a poco, y esperamos que el incremento de la dificultad entre los ejercicios nunca sea tan grande como para frustrarte. 21 | 22 | Nota: ¡No te frustres! Pregúntanos [por Slack](https://4geeksacademy.slack.com/) en el canal de public support (para miembros de 4Geeks Academy), en la [comunidad de WhatsApp](https://chat.whatsapp.com/K39ELB5TIK63r4INTBd7SG) (para miembros de 4Geeks.com premium) o en privado siguiendo [estos pasos](https://4geeks.com/es/how-to/como-hacer-preguntas-de-programacion). 23 | 24 | ➡️ Haz clic en `next` arriba de estas instrucciones para empezar con el primer ejercicio... 25 | 26 | 27 | 28 | ## Colaboradores: 29 | 30 | Gracias a estas maravillosas personas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): 31 | 32 | 1. [Alejandro Sánchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) :computer: (idea) 🤔, (build-tests) :warning:, (pull-request-review) :eyes: (build-tutorial) :white_check_mark: (documentación) :book: 33 | 34 | 2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribución: (programador) :computer:, (build-tests) :warning: 35 | 36 | 3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribución: (traducción) :earth_africa: 37 | 38 | 4. [Charly Chacón (charlytoc)](https://github.com/charlytoc), contribución: (remasterización, video tutoriales) 🤖 39 | 40 | Este proyecto sigue las especificaciones: [all-contributors](https://github.com/kentcdodds/all-contributors). 41 | 42 | ¡Todas las contribuciones son bienvenidas! -------------------------------------------------------------------------------- /exercises/00-welcome/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | intro: "https://www.youtube.com/watch?v=V07P0hV9w_0" 3 | --- 4 | # Welcome! 5 | 6 | Welcome to the world of HTML 🖖🧑‍💻 7 | 8 | ## 💬 Fundamentals: 9 | 10 | We have prepared these exercises for anyone interested in learning HTML from scratch. During this course we will go over the following concepts: 11 | 12 | 1. Get familiar with a good deal of the most popular HTML Tags. 13 | 14 | 2. Using the tags together to create a simple HTML Website. 15 | 16 | 3. Linking websites together using Anchors with Relative or Absolute paths. 17 | 18 | 4. The HTML audio and video tag. 19 | 20 | > 🔹 We built the exercises incrementally, you should feel the progress little by little, and hopefully, the difficulty raising between exercises will never be too big to get you frustrated. 21 | 22 | Note: Don't get frustrated! Ask any questions in the [slack public support channel](https://4geeksacademy.slack.com/) (for premium 4Geeks Students), the [WhatsApp community](https://chat.whatsapp.com/CBppI0ulMt8Dx4Fsw9AreG) or by private message following [these steps](https://4geeks.com/how-to/how-to-ask-programming-questions). 23 | 24 | ➡️ Click the `next` button on the top of these instructions to begin with the first exercise... 25 | 26 | 27 | ## Contributors: 28 | 29 | Thanks to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): 30 | 31 | 1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) :computer: (idea) 🤔, (build-tests) :warning:, (pull-request-review) :eyes: (build-tutorial) :white_check_mark: (documentation) :book: 32 | 33 | 2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribution: (coder), (build-tests) :warning: 34 | 35 | 3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribution: (translator) :earth_africa: 36 | 37 | 4. [Charly Chacón (charlytoc)](https://github.com/charlytoc), contribution: (remasterization, video tutorials) 🤖 38 | 39 | This project follows these specifications: [all-contributors](https://github.com/kentcdodds/all-contributors) 40 | 41 | Contributions of any kind are welcome! 42 | -------------------------------------------------------------------------------- /exercises/01-hello-world/README.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | tutorial: "https://www.youtube.com/watch?v=rEs6-k7un3o" 3 | --- 4 | # `01` Hello World 5 | 6 | HTML es un lenguaje de marcado, lo que significa que todo lo que se escribe debe estar encerrado en `` (etiquetas) de apertura y cierre, como estas: 7 | 8 | ```html 9 | Hello, I am a text 10 | Hello, I am also a text but in bold 11 | ``` 12 | 13 | ## 📝 Instrucciones: 14 | 15 | 1. **Elimina** todo el contenido actual de la página, **agrega** las etiquetas anteriores en el HTML de tu sitio web y presiona "**run**" para ver los resultados. 16 | 17 | ## 💻 Resultado Esperado: 18 | 19 | Tu sitio web final debería ser algo como esto: 20 | 21 | ![Preview for 01.1 HTML Exercises](../../.learn/assets/preview-01.1.png?raw=true) 22 | 23 | ## 💡 Pista: 24 | 25 | + Sólo debes quitar lo que tiene el archivo actualmente y pegar el código dado en las instrucciones. 26 | -------------------------------------------------------------------------------- /exercises/01-hello-world/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | tutorial: "https://www.youtube.com/watch?v=979yVLquF9Y" 3 | --- 4 | 5 | # `01` Hello World 6 | 7 | HTML is a markup language, meaning that everything you type must be wrapped in opening and closing ``, like this: 8 | 9 | ```html 10 | Hello, I am a text 11 | Hello, I am also a text but in bold 12 | ``` 13 | 14 | ## 📝 Instructions: 15 | 16 | 1. Please **remove** the current website content, **add** the above tags to your website HTML and press "**run**" to see the results. 17 | 18 | 19 | ## 💻 Expected Result: 20 | 21 | Your final website should be something like this: 22 | 23 | ![Preview for 01.1 HTML Exercises](../../.learn/assets/preview-01.1.png?raw=true) 24 | 25 | ## 💡 Hint: 26 | 27 | + You only have to remove what the file already has and paste the code from the instructions. 28 | -------------------------------------------------------------------------------- /exercises/01-hello-world/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Hello! I am a P tag, normally used for paragraphs

3 | -------------------------------------------------------------------------------- /exercises/01-hello-world/solution.hide.html: -------------------------------------------------------------------------------- 1 | 2 | Hello, I am a text 3 | Hello, I am also a text but in bold 4 | -------------------------------------------------------------------------------- /exercises/01-hello-world/tests.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const path = require('path'); 3 | const html = fs.readFileSync(path.resolve(__dirname, './index.html'), 'utf8'); 4 | document.documentElement.innerHTML = html.toString(); 5 | 6 | jest.dontMock('fs'); 7 | 8 | it('Add a tag.', function () { 9 | let span = document.querySelector("span"); 10 | expect(span).toBeTruthy(); 11 | }); 12 | 13 | it('Add a tag.', function () { 14 | let strong = document.querySelector("strong"); 15 | expect(strong).toBeTruthy(); 16 | }); 17 | 18 | it('The tag should have inside "hello, i am a text"', function () { 19 | let span = document.querySelector("span"); 20 | expect(span).toBeTruthy(); 21 | expect(span.innerHTML.toLowerCase()).toContain("hello, i am a text") 22 | }); 23 | 24 | it('The tag should have inside "hello, i am also a text but in bold"', function () { 25 | let strong = document.querySelector("strong"); 26 | expect(strong).toBeTruthy(); 27 | expect(strong.innerHTML.toLowerCase()).toContain("hello, i am also a text but in bold") 28 | }); 29 | -------------------------------------------------------------------------------- /exercises/01.1-like-word/README.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | tutorial: "https://www.youtube.com/watch?v=PFY7o_z8L2I" 3 | --- 4 | # `01.1` Like Word 5 | 6 | HTML fue creado inicialmente para publicar documentos, es por eso que sus `` (etiquetas) son similares a los elementos típicos que ves en un documento: 7 | 8 | | Nombre Etiqueta | Uso | 9 | | -------- | -------- | 10 | | `

` | Para agregar párrafos | 11 | | `` | Texto en negrita | 12 | | `

` | Títulos con mayor importancia (más grandes) | 13 | | `

` | Subtítulos (más pequeños)| 14 | | `` | Links o enlaces (anchors) | 15 | | `