Skip to content

Commit 37aa865

Browse files
authored
Merge branch 'master' into master
2 parents cd1abd8 + 82a4866 commit 37aa865

File tree

49 files changed

+326
-382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+326
-382
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2323
// "forwardPorts": [],
2424

25-
"onCreateCommand": "npm i [email protected] -g && npm i @learnpack/[email protected].20 -g && learnpack plugins:install [email protected]"
25+
"onCreateCommand": "npm i [email protected] -g && npm i @learnpack/[email protected].26 -g && learnpack plugins:install [email protected]"
2626

2727
// Use 'postCreateCommand' to run commands after the container is created.
2828
// "postCreateCommand": "yarn install",

.gitpod.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ FROM gitpod/workspace-full:latest
44
USER gitpod
55

66
RUN npm i [email protected] -g
7-
RUN npm i @learnpack/[email protected].20 -g && learnpack plugins:install [email protected]
7+
RUN npm i @learnpack/[email protected].26 -g && learnpack plugins:install [email protected]

README.es.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,26 @@
1313
<a href="https://gitpod.io#https://github.com/4GeeksAcademy/html-forms-tutorial-exercises.git"><img src="https://gitpod.io/button/open-in-gitpod.svg" /></a>
1414
<!-- endhide -->
1515

16-
Los formularios son tan importantes en el mundo de HTML, CSS y Javascript que decidí dedicarles un tutorial especial para enfocarme en todas las entradas/inputs, botones y elementos que HTML trae por defecto para centrarme en la interacción. En estos ejercicios aprenderás:
16+
Los formularios son tan importantes en el mundo de HTML, CSS y JavaScript que decidí dedicarles un tutorial especial para enfocarme en todas las entradas/inputs, botones y elementos que HTML trae por defecto para centrarme en la interacción. En estos ejercicios aprenderás:
1717

1818
1. Uso de entradas/inputs de texto, text areas, entradas/inputs de fecha y entradas/inputs numéricas.
1919

2020
2. Uso de dropdowns.
2121

22-
3. Formar validaciones preventivas.
22+
3. Validaciones de formulario.
2323

24-
4. GET vs POST.
25-
26-
5. Diseñar un formulario.
24+
4. Dar estilos a un formulario.
2725

2826
<!-- hide -->
2927
#### Antes de empezar... hay otros tutoriales
28+
3029
<ol>
3130
<li><a href="https://github.com/4GeeksAcademy/html-tutorial-exercises-course">Aprende HTML</a></li>
32-
<li><a href="https://github.com/4GeeksAcademy/html-forms-tutorial-exercises">Aprende Formularios HTML5 </a>← estás aquí</li>
33-
<li><a href="https://github.com/4GeeksAcademy/css-tutorial-exercises-course">Aprende CSS</a>
31+
<li><a href="https://github.com/4GeeksAcademy/html-forms-tutorial-exercises">Aprende Formularios HTML5</a>← 🔥 Estás aquí</li>
32+
<li><a href="https://github.com/4GeeksAcademy/css-tutorial-exercises-course">Aprende CSS</a></li>
33+
<li><a href="https://github.com/4GeeksAcademy/css-layouts-tutorial-exercises">Aprende CSS Layouts</a></li>
3434
<li><a href="https://github.com/4GeeksAcademy/bootstrap-exercises-tutorial">Aprende Bootstrap</a></li>
3535
</ol>
36-
<p align="center">
37-
<img src="https://github.com/4GeeksAcademy/html-forms-tutorial-exercises/blob/master/.learn/assets/animation.gif?raw=true">
38-
</p>
3936

4037
## Instalación en un clic (recomendado)
4138

@@ -45,39 +42,41 @@ Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Co
4542
4643
## Instalación local:
4744

48-
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+:
45+
Clona el repositorio en tu ambiente local y sigue los siguientes pasos:
4946

50-
```
47+
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+:
48+
49+
```bash
5150
$ npm i learnpack -g
5251
$ learnpack plugins:install learnpack-html
5352
```
5453

55-
2. Descarga estos ejercicios en particular usando learnpack y luego `cd` para entrar en la carpeta:
54+
2. Descarga estos ejercicios en particular usando LearnPack y luego `cd` para entrar en la carpeta:
5655

57-
```
56+
```bash
5857
$ learnpack download html-forms-tutorial-exercises
5958
$ cd html-forms-tutorial-exercises
6059
```
6160

6261
> Nota: Una vez que termines de descargar, encontrarás una carpeta "exercises" que contiene todos los ejercicios.
6362
64-
3. Inicializa el tutorial/ejercicios ejecutando el siguiente comando en el mismo nivel donde se encuentra tu archivo bc.json:
63+
3. Inicializa el tutorial/ejercicios ejecutando el siguiente comando en el mismo nivel donde se encuentra tu archivo learn.json:
6564

66-
```sh
65+
```bash
6766
6867
$ learnpack start
6968
```
7069
<!-- endhide -->
7170

7271
## ¿Cómo están organizados los ejercicios?
7372

74-
Cada ejercicio es una pequeña aplicación de react que contiene los siguientes archivos:
73+
Cada ejercicio es una pequeña aplicación de React que contiene los siguientes archivos:
7574

7675
1. **index.js:** representa el archivo de entrada para toda la aplicación.
7776
2. **README.md:** contiene las instrucciones de los ejercicios.
7877
3. **test.js:** no tienes que abrir este archivo, contiene el script del test para el ejercicio.
7978

80-
> Nota: Estos ejercicios son autograduados. Los tests son muy rígidos y estrictos, mi recomendación es que ignores los tests y usarlos solo como una recomendación o puedes frustrarte.
79+
> Nota: Los ejercicios son autograduados, pero 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.
8180
8281
## Colaboradores
8382

@@ -87,4 +86,4 @@ Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds
8786

8887
Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas!
8988

90-
Este y otros ejercicios son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) realizado por [Alejandro Sánchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce más sobre nuestros [Curso de Programación](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).
89+
Este y otros ejercicios son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) realizado por [Alejandro Sánchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce más sobre nuestros [Cursos de Programación](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).

README.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
<h3>Start now: </h3>
1212
<a href="https://gitpod.io#https://github.com/4GeeksAcademy/html-forms-tutorial-exercises.git"><img src="https://gitpod.io/button/open-in-gitpod.svg" /></a>
13-
<!-- endhide -->
1413

1514
*Estas instrucciones [están disponibles en 🇪🇸 español](https://github.com/4GeeksAcademy/html-forms-tutorial-exercises/blob/master/README.es.md) :es:*
15+
<!-- endhide -->
1616

1717
Forms are so important in the world of HTML, CSS and Javascript that I decided to give them a special course to focus in all the inputs, buttons and elements that HTML brings by default to focus on interaction. During these exercises you will learn the following:
1818

@@ -24,19 +24,18 @@ Forms are so important in the world of HTML, CSS and Javascript that I decided t
2424

2525
4. The difference between GET and POST.
2626

27-
5. How to style a form
27+
5. Styling a form.
2828

2929
<!-- hide -->
3030
#### Before we start... other related tutorials
31+
3132
<ol>
3233
<li><a href="https://github.com/4GeeksAcademy/html-tutorial-exercises-course">Learn HTML</a></li>
33-
<li><a href="https://github.com/4GeeksAcademy/html-forms-tutorial-exercises">Learn HTML5 Forms</a>← your are here now</li>
34+
<li><a href="https://github.com/4GeeksAcademy/html-forms-tutorial-exercises">Learn HTML5 Forms</a>← 🔥 You are here now</li>
3435
<li><a href="https://github.com/4GeeksAcademy/css-tutorial-exercises-course">Learn CSS</a></li>
36+
<li><a href="https://github.com/4GeeksAcademy/css-layouts-tutorial-exercises">Learn CSS Layouts</a></li>
3537
<li><a href="https://github.com/4GeeksAcademy/bootstrap-exercises-tutorial">Learn Bootstrap</a></li>
3638
</ol>
37-
<p align="center">
38-
<img src="https://github.com/4GeeksAcademy/html-forms-tutorial-exercises/blob/master/.learn/assets/animation.gif?raw=true">
39-
</p>
4039

4140
## One click installation (recommended):
4241

@@ -46,39 +45,41 @@ You can open these exercises in just a few seconds by clicking: [Open in Codespa
4645
4746
## Local installation
4847

49-
1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 14+:
48+
Clone the repository in your local environment and follow the steps below:
5049

51-
```
50+
1. Install LearnPack, the package manager for learning tutorials and the HTML compiler plugin for LearnPack, make sure you also have node.js 14+:
51+
52+
```bash
5253
$ npm i learnpack -g
5354
$ learnpack plugins:install learnpack-html
5455
```
5556

56-
2. Download this particular exercises using learnpack and `cd` into the folder:
57+
2. Download these particular exercises using LearnPack and `cd` into the folder:
5758

58-
```
59+
```bash
5960
$ learnpack download html-forms-tutorial-exercises
6061
$ cd html-forms-tutorial-exercises
6162
```
6263

63-
> Note: Once you finish downloading, you will find a "exercises" folder that contains all the exercises within.
64+
> Note: Once you finish downloading, you will find an "exercises" folder that contains all the exercises within.
6465
65-
3. Start the tutorial/exercises by running the following command at the same level were your bc.json file is:
66+
3. Start the tutorial/exercises by running the following command at the same level where your learn.json file is:
6667

67-
```sh
68+
```bash
6869
6970
$ learnpack start
7071
```
7172
<!-- endhide -->
7273

73-
## How are the React Tutorial Exercises organized?
74+
## How are the exercises organized?
7475

75-
Each exercise is a small react application containing the following files:
76+
Each exercise is a small React application containing the following files:
7677

7778
1. **index.js:** represents the entry file for the entire exercise.
7879
2. **README.md:** contains exercise instructions.
7980
3. **test.js:** you don't have to open this file, it contains the testing script for the exercise.
8081

81-
> Note: The exercises have automatic grading, but it's very rigid and string, my recommendation is to ignore the tests and use them only as a recommendation, or you can get frustrated :(
82+
> 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.
8283
8384
## Contributors
8485

@@ -89,4 +90,4 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
8990

9091
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!
9192

92-
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).
93+
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).

exercises/01-welcome/README.es.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11

22
# `01` Welcome to the world of HTML 😆 !!
33

4-
Hola, mi nombre es [Alejandro Sánchez](http://alesanchezr.com) y soy uno de los fundadores de @4GeeksAcademy (bootcamp de programación). Estos ejercicios y muchos otros tutoriales interactivos se han liberado al público gratuitamente a través del [Sitio web de BreatheCode](www.BreatheCo.de).
4+
Hola, mi nombre es [Alejandro Sánchez](http://alesanchezr.com) y soy uno de los fundadores de @4GeeksAcademy (bootcamp de programación). Estos ejercicios y muchos otros tutoriales interactivos se han liberado al público gratuitamente a través del [Sitio web de 4Geeks](www.4geeks.com).
55

66
Estos ejercicios son para cualquier persona interesada en dominar los formularios HTML. Vamos a abordar los siguientes conceptos:
77

8-
1. Uso de entradas de formulario
8+
1. Uso de entradas/inputs de texto, text areas, entradas/inputs de fecha y entradas/inputs numéricas
99

10-
2. Validaciones de formulario
10+
2. Uso de dropdowns
1111

12-
3. GET vs POST
12+
3. Validaciones de formulario
1313

1414
4. Dar estilos a un formulario
1515

16-
## ➡️ Incremental y ✔️ autoevaluado
16+
## ➡️ Incremental & ✔️ Autoevaluado
1717

1818
- He construido los ejercicios de forma gradual, deberías sentir el progreso poco a poco, y con suerte, el incremento de dificultad entre cada ejercicio nunca será demasiado grande para frustrarte.
1919

20-
- Todos los ejercicios han sido calificados automáticamente gracias a [@username](https://github.com/haydavid23)
20+
- Todos los ejercicios han sido calificados automáticamente gracias a [@haydavid23](https://github.com/haydavid23)
2121

22-
Presiona `Next ->` en la parte superior de estas instrucciones para comenzar con el primer ejecicio.
22+
Presiona `Next ->` en la parte superior de estas instrucciones para comenzar con el primer ejercicio.

exercises/01-welcome/README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11

22
# `01` Welcome to the world of HTML 😆 !!
33

4-
Hello, my name is [Alejandro Sanchez](http://alesanchezr.com) and I'm one of the founders of @4GeeksAcademy (coding bootcamp).
4+
Hello, my name is [Alejandro Sánchez](http://alesanchezr.com), and I'm one of the founders of @4GeeksAcademy. These exercises and many other interactive tutorials have been open sourced and released to the public for free through the [4Geeks Website](www.4geeks.com).
55

6-
These exercises and many other interactive tutorials have been open sourced and released to the public for free thru the [BreatheCode Website](www.BreatheCo.de).
6+
These exercises are for anyone interested in mastering HTML Forms, we will go over the following concepts:
77

8-
This exercises are for anyone interested in mastering HTML Forms, we will go over the following concepts:
8+
1. Using text inputs, text areas, date inputs and numeric inputs
99

10-
1. Using inputs
10+
2. Using dropdowns
1111

12-
2. Form preventive validations
13-
14-
3. GET vs POST
12+
3. Form preventive validations
1513

1614
4. Styling a form
1715

18-
## ➡️ Incremental & Autograded
16+
## ➡️ Incremental & ✔️ Autograded
1917

2018
- I've 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.
2119

22-
- All exercises have been automatically graded thanks to [@username](https://github.com/haydavid23)
20+
- All exercises have been automatically graded thanks to [@haydavid23](https://github.com/haydavid23)
2321

2422
Click the `Next ->` button on the top of these instructions to begin with the first exercise.

exercises/02-hello-world/README.es.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `02` Hola, mundo
1+
# `02` Hello World
22

33
## 📝 Instrucciones:
44

@@ -10,9 +10,8 @@
1010

1111
+ Puedes leer sobre la estructura típica de un sitio web aquí:
1212

13-
https://content.breatheco.de/lesson/what-is-html-learn-html#page-structure
14-
13+
https://4geeks.com/es/lesson/what-is-html-learn-html-es#estructura-de-pgina
1514

1615
## 📎 Nota:
1716

18-
El título aparecerá en el contenido de la página web, se mostrará en la pestaña del navegador.
17+
+ El título aparecerá en el contenido de la página web, se mostrará en la pestaña del navegador.

exercises/02-hello-world/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
1. Add the basic HTML structure for any website (doctype, html, head and body)
66

7-
2. Add "Hello World" inside the title tag of the website.
7+
2. Add "Hello World" inside the `<title>` tag of the website.
88

99
## 💡 Hint:
1010

1111
+ You can read about a typical website structure here:
1212

13-
https://content.breatheco.de/lesson/what-is-html-learn-html#page-structure
13+
https://4geeks.com/lesson/what-is-html-learn-html#page-structure
1414

15-
### 📎 Note:
15+
## 📎 Note:
1616

17-
The title is not going to show on the content of the website, it will show on the browser tab.
17+
+ The title is not going to show on the content of the website, it will show on the browser tab.

exercises/02-hello-world/tests.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('basic HTML structure', function () {
88
beforeEach(() => { document.documentElement.innerHTML = html.toString(); });
99
afterEach(() => { jest.resetModules(); });
1010

11-
it('order of HTML tags', function () {
11+
it('Correct order of HTML tags', function () {
1212
let a = document.documentElement.innerHTML = html.toString()
1313
let b = a.indexOf("<!DOCTYPE html>")
1414
let c = a.indexOf("<html")
@@ -28,15 +28,15 @@ describe('basic HTML structure', function () {
2828
let a = document.documentElement.innerHTML = html.toString()
2929
expect(a.indexOf("<!DOCTYPE html>")).not.toBe(-1)
3030
})
31-
it('<html> tag should exists', function () {
31+
it('<html> tag should exist', function () {
3232
let a = document.documentElement.innerHTML = html.toString()
3333
expect(a.indexOf("<html")).not.toBe(-1)
3434
})
35-
it('<head> tag should exists', function () {
35+
it('<head> tag should exist', function () {
3636
let a = document.documentElement.innerHTML = html.toString()
3737
expect(a.indexOf("<head>")).not.toBe(-1)
3838
})
39-
it('<title> tag exists and the innerHTML needs to be "Hello World"', function () {
39+
it('<title> tag exists and the innerHTML should be "Hello World"', function () {
4040
let a = document.documentElement.innerHTML = html.toString()
4141
expect(a.indexOf("<title>")).not.toBe(-1)
4242
expect(document.querySelector("title").innerHTML).toBe("Hello World")

exercises/03-Type-Radio/README.es.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Para agrupar varios radios en un mismo grupo de opciones debes asignarles el mis
1010

1111
2. Crea otros 2 input `type=radio` para elegir las orientaciones sexuales: Heterosexual o LGTBI.
1212

13-
### 📎 Nota:
13+
## 💡 Pistas:
1414

15-
Prueba tu formulario, sólo se debe poder elegir un género y una orientación sexual.
15+
+ Investiga sobre las etiquetas `<input>` y `<label>`.
16+
17+
+ Prueba tu formulario, solo se debe poder elegir un género y una orientación sexual.

exercises/03-Type-Radio/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# `03` Type Radio
22

3-
The input type=radio is used when the user is not allowed to pick more than one option.
3+
The `input type=radio` is used when the user is not allowed to pick more than one option.
44

5-
To group bind to different radios into the same group of options you need to assign them the same name.
5+
To bind different radios into the same group of options you need to assign them the same name.
66

77
## 📝 Instructions:
88

99
1. Create 2 input `type=radio` to pick the gender values: Male or Female.
1010

1111
2. Create another 2 input `type=radio` to pick sexual orientation: Heterosexual or LGBTI.
1212

13-
### 📎 Note:
13+
## 💡 Hints:
1414

15-
Test your form, only one gender and one sexual orientation should be allowed to pick.
15+
+ Search about `<input>` and `<label>` tags.
16+
17+
+ Test your form, only one gender and one sexual orientation should be allowed to pick.

0 commit comments

Comments
 (0)