Skip to content

Commit 1598987

Browse files
committed
reviewing instructions
1 parent e930df0 commit 1598987

File tree

39 files changed

+175
-141
lines changed

39 files changed

+175
-141
lines changed

exercises/01-Hello-World/README.es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tutorial: "https://www.youtube.com/watch?v=rbtHLA813pU"
66

77
CSS trata sobre estilos (styles). Para aplicar estilos, siempre debes seguir estos pasos:
88

9-
1. Lee el HTML y elije en tu mente a qué elemento deseas decorar o aplicar estilos.
9+
1. Lee el HTML y elije qué elemento deseas decorar o aplicar estilos.
1010
1. Programáticamente selecciona el elemento que deseas decorar con los selectores de CSS.
1111
2. Escribe el estilo que quieras usando las reglas CSS.
1212

@@ -35,4 +35,4 @@ Pega este código en tu sitio web para ver los resultados.
3535

3636
Debería verse así:
3737

38-
![01 Hello World Exercise Preview](https://ucarecdn.com/7e9496c0-549a-4767-b771-13b9bfc5d9c2/)
38+
![01 Hello World Exercise Preview](https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/master/.learn/assets/01-1.png?raw=true)

exercises/01-Hello-World/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ tutorial: "https://www.youtube.com/watch?v=rbtHLA813pU"
55

66
CSS is about styles. To apply styles you always have to follow this steps:
77

8-
1. Read the HTML and pick in your mind what element you want to decorate or apply styles to.
9-
1. Programatically select the element you want to style using CSS Selectors.
10-
2. Write the styling that you want by using CSS rules.
8+
1. Read the HTML and pick what element do you want to decorate or apply styles to.
9+
2. Programatically select the element you want to style using CSS Selectors.
10+
3. Write the styling that you want by using CSS rules.
1111

1212
That is it! The rest is just semantics! 😁
1313

exercises/01.1-The-Style-Tag/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tutorial: "https://www.youtube.com/watch?v=C5sOchuD2d4"
44

55
# `01.1` The Style Tag
66

7-
If you want to add styles into a website by writing CSS you have to always add it withing a `<style>` tag.
7+
If you want to add styles into a website by writing CSS you have to always add it within a `<style>` tag.
88
You can have as many style tags as you want but it is recomended to have only one at the beginning of your website code.
99
```HTML
1010
<style>
@@ -14,7 +14,7 @@ You can have as many style tags as you want but it is recomended to have only on
1414

1515
## 📝 Instructions
1616

17-
Add a `<style>` tag into your website and using CSS select the all `<p>` tags to turn their text into blue color.
17+
Add a `<style>` tag into your website and using CSS select all `<p>` tags to turn their text into blue color.
1818

1919
## 💻 Preview
2020

exercises/01.2-Your-First-Style/README.es.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `01.2` Tu Primer Estilo
22

3-
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:
3+
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.
44

55
Por ejemplo, este es el código si quiero que todos los anchors de mi sitio web (etiquetas `<a>`) sean azules (blue):
66

@@ -13,4 +13,5 @@ a {
1313
## 📝 Instrucciones:
1414

1515
1. En este momento, se está aplicando un estilo que se encarga de hacer el enlace rojo (red).
16+
1617
2. Cambia el estilo para que tu enlace se vea amarillo (yellow).

exercises/01.2-Your-First-Style/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tutorial: "https://www.youtube.com/watch?v=8b12AFC6bWs"
66

77
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:
88

9-
For example, this is the code if I want to make all my website anchors (`<a> tag's`) blue:
9+
For example, this is the code if you want to make all my website anchors (`<a> tag's`) blue:
1010

1111
```css
1212
a {
@@ -17,4 +17,5 @@ a {
1717
## 📝 Instructions:
1818

1919
1. Right now there is a style being applied that is responsable of making the anchor red.
20+
2021
2. Change the style to make your anchor look yellow.

exercises/01.3-Your-Second-Style/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ a {
1313
## 📝 Instrucciones:
1414

1515
1. Haz que el fondo de tu sitio web sea azul (blue) seleccionando el `body` y aplicando la regla `background` con valor `blue`.
16-
2. Compila y muestra una vista previa del ejercicio y tu resultado debe ser un body azul en la página (toda la página azul).
16+
2. Compila y muestra una vista previa del ejercicio y tu resultado debe ser un body azul (toda la página azul).

exercises/01.3-Your-Second-Style/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ a {
1717
## 📝 Instructions:
1818

1919
1. Make your website background blue by selecting the `body` and applying the `background` rule with a `blue` value.
20-
2. Build and preview the exercise and your result should be a blue body of the page (the whole page blue).
20+
2. Build and preview the exercise and your result should be a blue `body` (the whole page blue).

exercises/02-Separate-Stylesheet/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Si usas la etiqueta html `<link>`, puedes tener tus estilos en un archivo separado que normalmente se llama `styles.css`.
44

5-
Esa es una práctica aún mejor porque te permite tener un sitio web a quien no le importe el diseño, puedes cambiar el CSS después y hacer que tu sitio web se vea 100% diferente, pero teniendo exactamente el mismo HTML.
5+
Esa es una mejor práctica porque te permite tener un sitio web a sin diseño, puedes cambiar el CSS después y hacer que tu sitio web se vea 100% diferente, pero teniendo exactamente el mismo HTML.
66

77
## 📝 Instrucciones:
88

exercises/02-Separate-Stylesheet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ tutorial: "https://www.youtube.com/watch?v=T0anCc5fvSg"
44

55
# `02` Separate Stylesheet
66

7-
If you use the html `<link>` tag, you can also have your styles on a separate file that we normally call `styles.css`.
7+
If you use the html `<link>` tag, you can also have your styles on a separate file that we usually call `styles.css`.
88

9-
That is an event better practice because it lets you have an CSS agnostic website, you can change the CSS later and make the website look 100% different, but still have the same exact HTML.
9+
That is an even better practice because it lets you have an CSS agnostic website, you can change the CSS later and make the website look 100% different, but still have the same exact HTML.
1010

1111
## 📝 Instructions:
1212

exercises/02.1-Background/README.es.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22

33
La regla `background` del CSS nos permite asignar y trabajar con el background de cualquier contenedor (container). Los valores de background pueden ser `color` o una `imagen`.
44

5-
Si es una imagen, puedes especificar si quieres que la imagen se repita horizontalmente, verticalmente, ambas o ninguna, y también puedes especificar si quieres cambiar el tamaño y ajustar su tamaño al contenedor completo, entre otras propiedades eso puede ser modificado.
5+
Si es una imagen, puedes especificar si quieres que la imagen se repita horizontalmente, verticalmente, ambas o ninguna, y también puedes especificar si quieres cambiar el tamaño y ajustar su tamaño al contenedor completo, entre otras propiedades eso puede modificarse.
66

77
## 📝 Instrucciones:
88

99
1. Construye el ejercicio.
10+
1011
2. Verifica la vista previa.
11-
3. En el archivo styles.css pon el background-size a 'contain' (verifica la pestaña styles.css)
12+
13+
3. En el archivo styles.css pon el background-size a 'contain' (verifica la pestaña styles.css).
14+
1215
4. Construye y previsualiza el ejercicio nuevamente.
16+
1317
5. Cambia el background-repeat a 'inherit' para que se repita sobre el eje x y el eje y.
18+
1419
6. Construye y previsualiza el ejercicio nuevamente.
1520

1621

exercises/02.1-Background/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,21 @@ tutorial: "https://www.youtube.com/watch?v=MJI0-sFmTe8"
66

77
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`.
88

9-
If it is an image you can specify if you want the image to repeat horizontally, vertically, both, or not at all, and you can also specify if you want it to resize and fit the whole container where its being applied, among other properties that can be modified.
9+
If it is an image, you can specify if you want the image to be repeated horizontally, vertically, or both, or not at all, and you can also specify if you want it to resize and fit the whole container where its being applied, among other properties that can be modified.
1010

1111
## 📝 Instructions:
1212

1313

1414
1. Build the exercise.
15+
1516
2. Check the Preview.
16-
3. On the styles.css file the background-size to 'contain' (check the styles.css tab).
17+
18+
3. On the styles.css file change the background-size to 'contain' (check the styles.css tab).
19+
1720
4. Build and Preview the exercise again.
21+
1822
5. Change the background-repeat to 'inherit' to make it repeat over the x axis and y axis.
23+
1924
6. Build and Preview the exercise again.
2025

2126

exercises/03-Inline-Styles/README.es.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ Nota: Puedes agregar tantas reglas CSS como desees, dentro de la misma línea, s
1919

2020
1. Establece un estilo inline para cambiar el color de fondo de la tabla a verde (green). Para este ejercicio, NO uses el styles.css :(
2121

22+
**Nota:**
2223

23-
### Pista:
24+
Puedes agregar tantas reglas CSS como desees, dentro de la misma línea, separadas por punto y coma.
25+
26+
### 💡Pista:
2427

2528
- Como usar el background-size: http://lmgtfy.com/?q=css+inline+style

exercises/03-Inline-Styles/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tutorial: "https://www.youtube.com/watch?v=jIMPLzpryuI"
44

55
# `03` Inline Styles
66

7-
Inline styles are a very bad idea unless you have no choice (and that's a very uncommon situation). Sadly, we have to teach you how to do it because there is a chance you will need to use them at some point.
7+
Inline styles are a very bad idea unless you have no other choice (and that's a very uncommon situation). Sadly, we have to teach you how to do it because you may need to use them at some point.
88

99
To use inline styles, instead of declaring a <style> tag in the header of the document, you have to set the "style" attribute of any element with the CSS code you need to apply to that specific element.
1010

@@ -16,14 +16,16 @@ For example:
1616

1717
Will set the color of that specific link to red and the font-size to 14px
1818

19-
Note: You can append as many CSS rules as you want, within the same line, separated by semi-colon.
19+
**Note:**
20+
21+
You can append as many CSS rules as you want, within the same line, separated by semi-colon.
2022

2123
## 📝 Instructions:
2224

2325

2426
1. Set an inline style to change the background color of the table to green. For this exercise, do NOT use styles.css :(
2527

2628

27-
### Hint:
29+
### 💡 Hint:
2830

2931
- How to use the background-size: http://lmgtfy.com/?q=css+inline+style

exercises/04-Class-Selector/README.es.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@ Hay muchas formas de seleccionar los elementos HTML para aplicarles estilos, has
44

55
#### 1) Selector de clase
66

7-
Es el selector de CSS más popular, probablemente lo usarás cada 5 minutos. Usa la propiedad de clase del elemento HTML para seleccionar. La reglas de estilo se aplicarán a todos los elementos con la misma clase.
7+
Es el selector de CSS más popular, probablemente lo usarás cada 5 minutos.
8+
9+
Usa la propiedad de clase del elemento HTML para seleccionarlo. La reglas de estilo se aplicarán a todos los elementos con la misma clase.
810

911
```css
1012
.small{
1113
font-size: 9px;
1214
}
1315
```
14-
Nota: cualquier etiqueta html con `class="small"` tendrá un font-size de 9px.
16+
**Nota:**
17+
18+
Cualquier etiqueta html con `class="small"` tendrá un font-size de 9px.
19+
20+
1521

1622
# 📝 Instrucciones:
1723

exercises/04-Class-Selector/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,20 @@ There are many ways to select HTML elements to apply styles to them, so far we h
99
#### 1) `.class` Selector
1010

1111
It is the most popular css selector, you will probably use it every 5 minutes.
12+
1213
Use the class property of the HTML element to select it. Styling rules will apply to all elements with the same class value
1314

1415
```css
1516
.small{
1617
font-size: 9px;
1718
}
1819
```
19-
Note: any html tag with the `class="small"` will have a font-size of 9px.
20+
**Note:**
2021

21-
# 📝 Instructions:
22+
Any html tag with the `class="small"` will have a font-size of 9px.
2223

23-
Right now there is a class selected on the CSS that is called `.b-blue`.
24+
# 📝 Instructions:
2425

25-
Please apply that class to both of the `<p>` tags in HTML.
26+
Right now there is a class selected on the CSS that is called `.b-blue`. Please apply that class to both of the `<p>` tags in HTML.
2627

2728

exercises/04.1-Combined-Rules/README.es.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ border: black 1px solid;
2323
2. Combina todas las reglas de background, menos el background size, en una sola línea usando la regla "background:".
2424

2525

26+
*Nota:**
2627

27-
P.S: The background size no se puede combinar, los navegadores aún no lo admiten.\*\*
28+
El background size no se puede combinar, los navegadores aún no lo admiten.\*\*
2829

29-
# Hint:
30+
### Pista:
3031

3132
- Como usar el background-size: http://lmgtfy.com/?q=css+background
3233
- Como usar el padding: http://lmgtfy.com/?q=css+padding

exercises/04.1-Combined-Rules/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ border: black 1px solid;
2424

2525

2626
1. Combine the 4 padding rules into just one using the "padding" rule.
27-
2. Combine the all background rules, but the background size, into just one line using the "background:" rule.
2827

28+
2. Combine the all background rules, but the background size, into just one line using the "background:" rule.
2929

30+
**Note:**
3031

31-
P.S: The background size cannot be combined, the browsers don't support it yet.\*\*
32+
The background size cannot be combined, the browsers don't support it yet.\*\*
3233

3334
# Hint:
3435

exercises/04.2-Apply-several-classes/README.es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Vamos a usar clases y aplicarlas al mismo elemento `<div>`.
77
<div class="card spades">9</div>
88
```
99

10-
La clase `card`contiene las reglas de estilo para hacer que el div se vea como una carta: Bordes, ancho, etc.
10+
La clase `card` contiene las reglas de estilo para hacer que el div se vea como una carta: bordes, ancho, etc.
1111

1212
La clase `spades` contienes las reglas de estilo requeridas para convertir la carta a la pinta de picas (negra con el símbolo de picas).
1313

14-
Hay dos posibles clases de pintas que puedes aplicar al elemento html y hará que se vea como una carta de poker real.
14+
Hay dos posibles clases de palos/pintas que puedes aplicar al elemento html y hará que se vea como una carta de poker real.
1515

1616
# 📝 Instrucciones:
1717

exercises/04.2-Apply-several-classes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We are going to use to classes and apply them to the same `<div>` element.
1515
The class `card` contains the styling rules to make the div look like a card: Borders, Height, Width, etc.
1616
The class `spades` contains the styling rules needed to make the card turn into a spades suite (black and with a spades symbol).
1717

18-
There are two possible suite classes you can apply to the html element and it will make it look like a real poker card.
18+
There are two possible suite classes you can apply to the html element to make it look like a real poker card.
1919

2020
# 📝 Instructions:
2121

exercises/04.3-id-Selector/README.es.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ También puedes seleccionar un elemento por su `#id` y aplicarle estilos.
99
font-size: 9px;
1010
}
1111
```
12-
Usa la propiedad id del elemento HTML para seleccionar. Las IDs deberían ser únicas, solo un elemento puede tener la misma ID.
12+
Usa la propiedad id del elemento HTML para seleccionarlo. Las IDs deben ser únicas, solo un elemento puede tener la misma ID.
1313

14-
Nota: La etiqueta HTML con `id="my_number_one"` tendrá un font-size de 9px.
14+
**Nota:**
15+
16+
La etiqueta HTML con `id="my_number_one"` tendrá un font-size de 9px.
1517

1618
# 📝 Instrucciones:
1719

exercises/04.3-id-Selector/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ You can also select an element by `#id` and apply stiles to it.
1313
font-size: 9px;
1414
}
1515
```
16-
Use the id property of the HTML element to select it. IDs should be unique, only one element must have the same ID.
17-
Note: The html tag with the `id="my_number_one"` will have a font-size of 9px.
16+
Use the id property of the HTML element to select it. ID's should be unique, only one element must have the same ID.
17+
18+
**Note:**
19+
20+
The html tag with the `id="my_number_one"` will have a font-size of 9px.
1821

1922
# 📝 Instructions:
2023

exercises/05-Specificity/README.es.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Porque cuanto más específico, más prioridad tiene.
88

99
## 📝 Instrucciones:
1010

11-
```Plain/Text
11+
1212
1. Anula el color de fondo (background-color) de #thirditem sin eliminar ningún código CSS, simplemente agrega al CSS una regla más específica al final del documento para anular el color de fondo a verde.
13-
```
1413

15-
Tip:
14+
15+
### 💡 Pista:
1616

1717
Puedes usar la anotación **!important** :
1818
https://css-tricks.com/when-using-important-is-the-right-choice/

exercises/05-Specificity/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,18 @@ tutorial: "https://www.youtube.com/watch?v=3JxXkhxyAnI"
44

55
# `05` Specificity
66

7-
When creating a CSS document, you need to start from the most generic selector and end with the most specific ones, that is the way CSS works.
7+
When creating a CSS document, you need to start from the most generic selectors and end with the most specific ones, that is the way CSS works.
88

9-
It's all about the level of Specificity.
10-
If you specify that your div with id="thirditem" has a blue background, and later in the document you specify that all divs will have yellow background, #thirditem will keep his blue background. punto!
9+
It's all about the level of Specificity. If you specify that your `div` with `id="thirditem` has a blue background, and later in the document you specify that all `divs` will have yellow background, `#thirditem` will keep his blue background. punto!
1110

12-
Because the more specific, the more priority it has.
11+
**Because the more specific, the more priority it has**
1312

1413
## 📝 Instrucciones:
1514

16-
```Plain/Text
1715
1. Override the background-color of #thirditem without deleting any css code, simply append to the css a more specific rule at the end of the document to override the background-color to green.
18-
```
1916

20-
Tip:
17+
18+
### 💡 Hint:
2119

2220
You can use the **!important** annotation:
2321
https://css-tricks.com/when-using-important-is-the-right-choice/

exercises/06-Practicing-Rules/README.es.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,19 @@
66
1. Establece esta URL como la imagen de fondo de la página y repítela solo verticalmente:
77
https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/master/.learn/assets/background-vertical.jpg?raw=true
88

9-
2. Cambia el tipo de fuente (font-type) del h1 a Courier
10-
y el resto del sitio web a Times New Roman.
9+
2. Cambia el tipo de fuente (`font-type`) del `h1` a `Courier` y el resto del sitio web a `Times New Roman`.
1110

12-
3. Cambia el color del h1 a rojo.
11+
3. Cambia el color del `h1` a rojo(`red`).
1312

14-
4. Haz todos los h2 con un subrayado.
13+
4. Haz todos los `h2` tengan subrayado.
1514

16-
5. Centra el h1 en el medio.
15+
5. Centra el `h1`.
1716

18-
6. Agrega un left padding a todo el documento de 20px para que sea más fácil de leer.
17+
6. Agrega un `left padding` a todo el documento de `20px` para que sea más fácil de leer.
1918

20-
7. Agrega un fondo blanco semitransparente (0.2) al primer párrafo de "3 reasons you know you are learning" para que sea más fácil de leer (tienes que usar rgba para esto), y luego aplica un padding de 5px a todos los lados de ese párrafo.
19+
7. Agrega un fondo blanco semitransparente (0.2) al primer párrafo de "3 reasons you know you are learning" para que sea más fácil de leer (tienes que usar rgba para esto), y luego aplica un `padding` de `5px` a todos los lados de ese párrafo.
2120

22-
8. Cambia el color del anchor/enlace "hover" a verde (green) y elimina el subrayado.
23-
    (tienes que colocar el anchor para probarlo).
21+
8. Cambia el color del `anchor`/enlace "hover" a verde (`green`) y elimina el subrayado (tienes que colocar el anchor para probarlo).
2422

2523

2624
El resultado debería ser algo como esto:

0 commit comments

Comments
 (0)