Skip to content

Commit d77e2e0

Browse files
committed
changing layout, paths from relative to abolute
1 parent e9de4fa commit d77e2e0

File tree

42 files changed

+186
-159
lines changed

Some content is hidden

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

42 files changed

+186
-159
lines changed

exercises/01-welcome/README.es.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `01` Bienvenid@
22

3-
Mi nombre es Alejandro Sanchez [@alesanchezr](https://twitter.com/alesanchezr). ¡¡ Estoy muy emocionado por tenerte aquí !! 🎉 😂
4-
Aprender a programar es duro ¡necesitas un coach! Mándame un DM por twitter si tienes preguntas.
3+
Mi nombre es Alejandro Sanchez [@alesanchezr](https://twitter.com/alesanchezr) ¡¡ Estoy muy emocionado por tenerte aquí !! 🎉 😂
4+
Aprender a programar es dificl ¡necesitas un coach! Mándame un DM por twitter si tienes preguntas.
55

66
Durante este curso aprenderás los siguientes conceptos:
77

@@ -13,6 +13,6 @@ Durante este curso aprenderás los siguientes conceptos:
1313

1414
4. **Usar Módulos JS**: Separar tu código en diferentes archivos es la mejor forma de organizar y optimizar tus proyectos.
1515

16-
> :small_blue_diamond: Nosotros construimos los ejercicios incrementalmente, deberías sentir el progreso poco a poco, y esperamos que el incremento de la dificuldad entre los ejercicios nunca sea tan grande como para frustrarte.
16+
> 🔹 Nosotros construimos los ejercicios incrementalmente, deberías sentir el progreso poco a poco, y esperamos que el incremento de la dificuldad entre los ejercicios nunca sea tan grande como para frustrarte.
1717
1818
Haz clic en `next` arriba de estas instrucciones para empezar con el primer ejercicio.

exercises/01-welcome/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ During this course you will be learning the following concepts:
1717

1818
4. **Using JS Modules**: Splitting your code into different files is the best way to organize and optimize your projects.
1919

20-
> :small_blue_diamond: 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.
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.
2121
2222
Click the `next` link on the top of these instructions to begin with the first exercise.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ La librería viene con una función llamada **ReactDOM.render** que tú puedes v
88

99
La función `ReactDOM.render` recibe dos parámetros:
1010

11-
1. Qué renderizar (el HTML interno o innerHTML).
11+
* Qué renderizar (el HTML interno o innerHTML).
1212

13-
2. Dónde renderizarlo (elemento del DOM).
13+
* Dónde renderizarlo (elemento del DOM).
1414

1515

1616
Por ejemplo:
@@ -19,7 +19,7 @@ Por ejemplo:
1919
import React from 'react'; //importar la librería de react
2020
import ReactDOM from 'react-dom'; //importar react-dom para que react genere el html
2121

22-
// QUE: Esta variable contiene todo el HTML que va a ser renderizado
22+
// QUE: esta variable contiene todo el HTML que va a ser renderizado
2323
let output = <span>James is 12 years old</span>
2424

2525
// DONDE: Un elemento DOM que contendrá todo el html generado por react
@@ -39,7 +39,7 @@ myDiv.innerHTML = '<span>James is 12 years old</span>';
3939
ReactDOM.render(<span> James is 12 years old </span>, myDiv);
4040
```
4141

42-
# :pencil: Instrucciones:
42+
## 📝 Instrucciones:
4343

4444
1. Abre el archivo `01.1-hello-world/app.jsx` y tómate un tiempo para entenderlo.
4545

exercises/01.1-hello-world/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ myDiv.innerHTML = '<span>James is 12 years old</span>';
4040

4141
// This is not you would do it with react.
4242
ReactDOM.render(<span> James is 12 years old </span>, myDiv);
43-
```
44-
45-
# :pencil: Instructions:
43+
```
44+
## 📝 Instructions:
4645

4746
1. Open the `01.1-hello-world/app.jsx` file and take some time to understand it.
4847

exercises/01.2-hello-jsx/README.es.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Si quieres incluir tu variable en tu código HTML dinámicamente, puedes hacerlo
1111
```jsx
1212
let output = <span> James is { age } years old </span>
1313
```
14+
1415
Fíjate en la posición de las llaves `{` y `}` envolviendo la variable.
1516

1617
Después, podemos renderizar todo en contenido en el sitio web usando `ReactDOM.render` así:
@@ -30,10 +31,10 @@ El documento HTML del sitio web resultante se verá así:
3031
</div>
3132
```
3233

33-
Básicamente, ahora somos capaces de mezclar HTML y JS en el mismo documento sin tener que concatenar y usar strings. :smiley: ¡Increíble! :angry: ¿Verdad?
34+
Básicamente, ahora somos capaces de mezclar HTML y JS en el mismo documento sin tener que concatenar y usar strings. 😃 ¡Increíble! 😠 ¿Verdad?
3435

35-
## :pencil: Instrucciones:
36+
## 📝 Instrucciones:
3637

3738
El archivo app.jsx tiene una variable llamada `name` que puede contener un nombre.
3839

39-
Por favor, incluye esa variable dentro del resultado(output) de react, reemplaza la variable con el `"James"`.
40+
1. Por favor, incluye esa variable dentro del resultado(output) de react, reemplaza la variable por el `James`.

exercises/01.2-hello-jsx/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ If you want to include the value of that variable into your HTML code dynamicall
1515
```jsx
1616
let output = <span> James is { age } years old </span>
1717
```
18+
1819
Note the position of the curly brackets `{` and `}` wrapping the variable.
1920

2021
Then, we can render the everything in the website content using `ReactDOM.render` like this:
@@ -34,10 +35,10 @@ The resulting website HTML document will look like this:
3435
</div>
3536
```
3637

37-
Basically, we are now able to mix HTML and JS in the same file without having to concatenate and use strings. :smiley: Amazing! :angry: right?
38+
Basically, we are now able to mix HTML and JS in the same file without having to concatenate and use strings. 😃 Amazing! 😠 right?
3839

39-
## :pencil: Instructions:
40+
## 📝 Instructions:
4041

4142
The app.jsx file has a variable called `name` that can contain a name.
4243

43-
Please include that variable inside the react output, replace the variable with the hard coded `"James"`.
44+
1. Please include that variable inside the react output, replace the variable with the hard coded `James`.

exercises/01.3-rendering-from-objects/README.es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Para obtener cualquier propiedad del objeto `Customer` tenemos que usar el opera
1515
console.log(customer.first_name); // imprimirá "Bob" en la consola.
1616
```
1717

18-
# :pencil: Instrucciones:
18+
## 📝 Instrucciones:
1919

20-
Abre el archivo `app.js` y crea el código necesario para hacer que tu archivo renderice la siguiente salida dentro del DOM:
20+
1. Abre el archivo `app.js` y crea el código necesario para hacer que tu archivo renderice la siguiente salida dentro del DOM:
2121

2222
```jsx
2323
<div>

exercises/01.3-rendering-from-objects/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To retrieve any property from the `Customer` object we have to use the dot `.` o
1919
console.log(customer.first_name); // will print "Bob" on the console.
2020
```
2121

22-
# :pencil: Instructions:
22+
## 📝 Instructions:
2323

2424
Open the `app.jsx` and create the necesary code to make your file render the following output into the DOM:
2525

exercises/01.4-building-a-layout/README.es.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Practiquemos un poco más el uso del JSX para crear HTML.
44

55
Ahora tenemos otro objeto que es solo un poco más complejo que el anterior.
66

7-
# :pencil: Instrucciones:
7+
## 📝 Instrucciones:
88

99
Tienes un objeto `data` que contiene la información de Bob Dylan (imagen, título, etc).
1010

@@ -34,9 +34,10 @@ Aquí está el código HTML para crear una tarjeta en bootstrap:
3434
</div>
3535
</div>
3636
```
37+
3738
Fuente: [Bootstrap Card](https://getbootstrap.com/docs/4.0/components/card/#example)
3839

3940
## Resultado esperado:
4041

41-
![Bob Dylan Card](https://github.com/4GeeksAcademy/react-tutorial-exercises/blob/66b097ba2f1812e3cabcce38566b633edd991638/.learn/assets/1.4-1.png?raw=true)
42+
![Bob Dylan Card](../../.learn/assets/1.4-1.png?raw=true)
4243

exercises/01.4-building-a-layout/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Let's practice a little bit more about using JSX for creating HTML.
88

99
Now we have another object that is just a bit more complex than the last one.
1010

11-
# :pencil: Instructions:
11+
## 📝 Instructions:
1212

1313
You have a `data` object that contains Bob Dylan's information (image, title, etc).
1414

@@ -26,7 +26,9 @@ const data = {
2626

2727
1. Use the information contained in `data` to render a bootstrap card, for example: The card's title will be the `data.cardTitle`, etc.
2828

29-
Here is the HTML code for creating a card in bootstrap:
29+
## 💡 Hint:
30+
31+
+ Here is the HTML code for creating a card in bootstrap:
3032

3133
```html
3234
<div class="card m-5">
@@ -38,11 +40,12 @@ Here is the HTML code for creating a card in bootstrap:
3840
</div>
3941
</div>
4042
```
43+
4144
Source: [Bootstrap Card](https://getbootstrap.com/docs/4.0/components/card/#example)
4245

43-
### Expected result:
46+
## Expected result:
4447

45-
![Bob Dylan Card](https://github.com/4GeeksAcademy/react-tutorial-exercises/blob/66b097ba2f1812e3cabcce38566b633edd991638/.learn/assets/1.4-1.png?raw=true)
48+
![Bob Dylan Card](../../.learn/assets/1.4-1.png?raw=true)
4649

4750

4851

0 commit comments

Comments
 (0)