Skip to content

Commit 326a5d2

Browse files
Merge pull request 4GeeksAcademy#31 from ElviraQDP/master
checking instructions
2 parents 692191e + 348a60f commit 326a5d2

File tree

37 files changed

+144
-131
lines changed

37 files changed

+144
-131
lines changed

exercises/00-Welcome/README.es.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ Durante este curso aprenderás los siguientes conceptos:
1111

1212
1. Cómo aplicar CSS a tu sitio web de tres formas diferentes:
1313
Inline, agrupando todo dentro de la etiqueta `<style>` o usando una hoja de estilos externa `<link>`,
14+
1415
2. Seleccionar elementos HTML para tu sitio web para aplicarle estilos,
16+
1517
3. Aplicar reglas CSS (estilos) a esos elementos,
18+
1619
4. A usar las reglas CSS más populares,
20+
1721
5. Aprender los trucos más populares de CSS.
1822

1923
Como te habrás dado cuenta, HTML sólo te permite crear sitios web básicos. Nadie quiere ver un sitio web en blanco con un texto horrible. ¡Así que es hora de aprender CSS! ¡Aprende CSS para que tu sitio web sea hermoso ¡Hagámos que brille!

exercises/00-Welcome/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ Learning to code is hard, you will problably need coaching! DM me on twitter if
1010
During this course you will be learning the following concepts:
1111

1212
1. How to apply CSS to your website in 3 different ways: Inline, by grouping them together inside a `<style>` tag or using an external stylesheet `<link>`,
13+
1314
2. Selecting HTML Elements from your website to apply the styles to.
15+
1416
3. Apply CSS Rules (styles) to those elements.
17+
1518
4. Use the most popular CSS Rules.
19+
1620
5. Learn the most popular CSS Tricks.
1721

1822
As you may have noticed, HTML allows you to create only basic websites. Nobody wants to see a white website with some horrible text on it. So it's time to learn what is CSS all about! Learn CSS to make your website beautiful. Let's make it shine!

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ tutorial: "https://www.youtube.com/watch?v=rbtHLA813pU"
77
CSS trata sobre estilos (styles). Para aplicar estilos, siempre debes seguir estos pasos:
88

99
1. Lee el HTML y elije qué elemento deseas decorar o aplicar estilos.
10-
1. Programáticamente selecciona el elemento que deseas decorar con los selectores de CSS.
11-
2. Escribe el estilo que quieras usando las reglas CSS.
10+
11+
2. Programáticamente selecciona el elemento que deseas decorar con los selectores de CSS.
12+
13+
3. Escribe el estilo que quieras usando las reglas CSS.
1214

1315
¡Eso es todo! El resto es solo semántica. 😁
1416

@@ -29,9 +31,9 @@ Usamos CSS para selectionar todas las etiquetas `<a>` y luego hacerlas `pink`.
2931

3032
## 📝 Instrucciones
3133

32-
Pega este código en tu sitio web para ver los resultados.
34+
1. Pega este código en tu sitio web para ver los resultados.
3335

34-
## 💻 Preview
36+
## 💻 Vista previa:
3537

3638
Debería verse así:
3739

exercises/01-Hello-World/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ tutorial: "https://www.youtube.com/watch?v=rbtHLA813pU"
66
CSS is about styles. To apply styles you always have to follow this steps:
77

88
1. Read the HTML and pick what element do you want to decorate or apply styles to.
9+
910
2. Programatically select the element you want to style using CSS Selectors.
11+
1012
3. Write the styling that you want by using CSS rules.
1113

1214
That is it! The rest is just semantics! 😁
@@ -26,11 +28,11 @@ Look at this example:
2628
We have an HTML anchor `<a>` that takes people to google.com when clicked.
2729
We use CSS to tell (selected) all the anchor tags and make then pink.
2830

29-
## 📝 Instructions
31+
## 📝 Instructions:
3032

31-
Paste this code on your website to see the results.
33+
1. Paste this code on your website to see the results.
3234

33-
## 💻 Preview
35+
## 💻 Preview:
3436

3537
It should look like this:
3638

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ Puedes tener cuantas etiquetas `<style>`quieras pero se recomienda solo tener un
1010
</style>
1111
```
1212

13-
## 📝 Instruccciones
14-
Añade una etiqueta `<style>` en tu sitio web y usando CSS selecciona todas las etiquetas `<p>` para que su texto sea de color azul (blue)
13+
## 📝 Instruccciones:
1514

16-
## 💻 Vista previa
15+
1. Añade una etiqueta `<style>` en tu sitio web y usando CSS selecciona todas las etiquetas `<p>` para que su texto sea de color azul (`blue`).
16+
17+
## 💻 Vista previa:
1718

1819
Debería verse así:
1920

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

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

77
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.
9+
910
```HTML
1011
<style>
1112
/* the website CSS Styles go here */
@@ -14,7 +15,7 @@ You can have as many style tags as you want but it is recomended to have only on
1415

1516
## 📝 Instructions
1617

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

1920
## 💻 Preview
2021

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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

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

77
```css
88
a {
@@ -12,6 +12,6 @@ a {
1212

1313
## 📝 Instrucciones:
1414

15-
1. En este momento, se está aplicando un estilo que se encarga de hacer el enlace rojo (red).
15+
1. En este momento, se está aplicando un estilo que se encarga de hacer el enlace rojo (`red)`.
1616

17-
2. Cambia el estilo para que tu enlace se vea amarillo (yellow).
17+
2. Cambia el estilo para que tu enlace se vea amarillo (`yellow`).

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ a {
1616

1717
## 📝 Instructions:
1818

19-
1. Right now there is a style being applied that is responsable of making the anchor red.
19+
1. Right now there is a style being applied that is responsable of making the anchor `red`.
2020

21-
2. Change the style to make your anchor look yellow.
21+
2. Change the style to make your anchor look `yellow`.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ 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 (toda la página azul).
16+
17+
2. Compila y muestra una vista previa del ejercicio y tu resultado debe ser un body azul (`blue`), es decir toda la página azul.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ 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+
2021
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ Esa es una mejor práctica porque te permite tener un sitio web a sin diseño, p
88

99
LLena el `styles.css` con el contenido necesario para que el body del sitio web azul (blue).
1010

11-
1211
## 💡 Pista:
1312

14-
Busca en Google cómo cambiar el color de fondo (background) de un body de un sitio web.
13+
+ Busca en Google cómo cambiar el color de fondo (`background-color`) de un body de un sitio web.
1514

1615

exercises/02-Separate-Stylesheet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Fill the `styles.css` with the content needed to make the website body blue.
1414

1515
## 💡Hint:
1616

17-
Google how to change the background color of a website body.
17+
+ Google how to change the `background-color` of a website body.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
# `02.1` Background (fondo)
22

3-
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`.
3+
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

55
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

9-
1. Construye el ejercicio.
9+
1. Construye el ejercicio.
1010

11-
2. Verifica la vista previa.
11+
2. Verifica la vista previa.
1212

13-
3. En el archivo styles.css pon el background-size a 'contain' (verifica la pestaña styles.css).
13+
3. En el archivo styles.css cambia el `background-size` a `contain` (verifica la pestaña styles.css).
1414

15-
4. Construye y previsualiza el ejercicio nuevamente.
15+
4. Construye y previsualiza el ejercicio nuevamente.
1616

17-
5. Cambia el background-repeat a 'inherit' para que se repita sobre el eje x y el eje y.
18-
19-
6. Construye y previsualiza el ejercicio nuevamente.
17+
5. Cambia el `background-repeat` a `inherit` para que se repita sobre el eje x y el eje y.
2018

19+
6. Construye y previsualiza el ejercicio nuevamente.
2120

2221
## 💡Pista:
2322

2423
Google es tu mejor amigo:
2524

2625
- Como usar el background-size: http://lmgtfy.com/?q=css+background-size
26+
2727
- Como usar el background-repeat: http://lmgtfy.com/?q=css+background-repeat

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# `03` Inline Styles (estilos en la línea)
22

3-
Los estilos inline son una muy mala idea a menos que no tengas otra opción (y esa es una situación muy poco común). Lamentablemente, tenemos que enseñarte cómo hacerlo porque existe la posibilidad de que necesites usarlos en algún momento.
3+
Los estilos `inline` son una muy mala idea a menos que no tengas otra opción (y esa es una situación muy poco común). Lamentablemente, tenemos que enseñarte cómo hacerlo porque existe la posibilidad de que necesites usarlos en algún momento.
44

5-
Para usar estilos inline, en lugar de declarar una etiqueta <style> en el header del documento, debes establecer el atributo "style" de cualquier elemento con el código CSS que necesitas aplicar a ese elemento específico.
5+
Para usar estilos inline, en lugar de declarar una etiqueta `<style>` en el header del documento, debes establecer el atributo `style` de cualquier elemento con el código CSS que necesitas aplicar a ese elemento específico.
66

77
Por ejemplo:
88

99
```html
1010
<a href="google.com" style="color: red; font-size: 14px;">Go to google</a>
1111
```
1212

13-
Estableceremos el color de este enlace específico a rojo (red) y el tamaño de fuente en 14px.
13+
Estableceremos el color de este enlace específico a rojo (`red`) y el tamaño de fuente (`font-size`) en `14px`.
1414

15-
Nota: Puedes agregar tantas reglas CSS como desees, dentro de la misma línea, separadas por punto y coma.
15+
*Puedes agregar tantas reglas CSS como desees, dentro de la misma línea, separadas por punto y coma.*
1616

1717
## 📝 Instrucciones:
1818

exercises/03-Inline-Styles/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@ For example:
1616

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

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

2321
## 📝 Instructions:
2422

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

2825

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,20 @@
22

33
Hay muchas formas de seleccionar los elementos HTML para aplicarles estilos, hasta ahora solo hemos usado la etiqueta selector, hablemos sobre el selector `.class`:
44

5-
#### 1) Selector de clase
5+
## Selector de clase:
66

77
Es el selector de CSS más popular, probablemente lo usarás cada 5 minutos.
88

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.
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.
1010

1111
```css
1212
.small{
1313
font-size: 9px;
1414
}
1515
```
16-
**Nota:**
16+
*Cualquier etiqueta html con `class="small"` tendrá un font-size de `9px`.*
1717

18-
Cualquier etiqueta html con `class="small"` tendrá un font-size de 9px.
19-
20-
21-
22-
# 📝 Instrucciones:
18+
## 📝 Instrucciones:
2319

2420
En este momento hay una clase seleccionada en el CSS llamada
2521
`.b-blue`.

exercises/04-Class-Selector/README.md

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

77
There are many ways to select HTML elements to apply styles to them, so far we have only use the `tag` selector, lets talk about the `.class` selector:
88

9-
#### 1) `.class` Selector
9+
## `.class` Selector
1010

1111
It is the most popular css selector, you will probably use it every 5 minutes.
1212

@@ -17,12 +17,13 @@ Use the class property of the HTML element to select it. Styling rules will appl
1717
font-size: 9px;
1818
}
1919
```
20-
**Note:**
2120

22-
Any html tag with the `class="small"` will have a font-size of 9px.
21+
*Any html tag with the `class="small"` will have a font-size of `9px`.*
2322

24-
# 📝 Instructions:
23+
## 📝 Instructions:
2524

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.
25+
Right now there is a class selected on the CSS that is called `.b-blue`.
26+
27+
Please apply that class to both of the `<p>` tags in HTML.
2728

2829

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ border: black 1px solid;
1919
# 📝 Instrucciones:
2020

2121

22-
1. Combina las 4 reglas de padding una sola utilizando la regla "padding".
23-
2. Combina todas las reglas de background, menos el background size, en una sola línea usando la regla "background:".
22+
1. Combina las 4 reglas de padding una sola utilizando la regla `padding`.
2423

24+
2. Combina todas las reglas de background, menos el `background-size`, en una sola línea usando la regla `background:`.
2525

26-
*Nota:**
26+
*El `background-size` no se puede combinar, los navegadores aún no lo admiten.*
2727

28-
El background size no se puede combinar, los navegadores aún no lo admiten.\*\*
29-
30-
### Pista:
28+
## Pista:
3129

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

exercises/04.1-Combined-Rules/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tutorial: "https://youtu.be/watch?v=uQS5QeEE-B4"
66

77
CSS files take space on your server and also take time to download (like everything); it is yet another text document that the browser has to download before rendering the page, which is why is important to keep the CSS document as small as possible.
88

9-
One way to do that is by combining several properties into one such as with "border":
9+
One way to do that is by combining several properties into one such as with `border`:
1010

1111
```css
1212
border-color: black;
@@ -20,18 +20,16 @@ Border's properties can be consolidated into a single line as:
2020
border: black 1px solid;
2121
```
2222

23-
# 📝 Instructions:
23+
## 📝 Instructions:
2424

25-
26-
1. Combine the 4 padding rules into just one using the "padding" rule.
25+
1. Combine the 4 padding rules into just one using the `padding` rule.
2726

2827
2. Combine the all background rules, but the background size, into just one line using the "background:" rule.
2928

30-
**Note:**
31-
32-
The background size cannot be combined, the browsers don't support it yet.\*\*
29+
*The background size cannot be combined, the browsers don't support it yet.*
3330

34-
# Hint:
31+
## Hint:
3532

3633
- How to use the background-size: http://lmgtfy.com/?q=css+background
34+
3735
- How to use the padding: http://lmgtfy.com/?q=css+padding

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ La clase `spades` contienes las reglas de estilo requeridas para convertir la ca
1313

1414
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

16-
# 📝 Instrucciones:
16+
## 📝 Instrucciones:
1717

1818
Remmplaza la propiedad `spades` de la clase del `<div>` por la clase `heart` y observa los resultados.
1919

2020

21+
## Resultado:
22+
2123
![Poker Card Heart](https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/master/.learn/assets/04.2-1.png?raw=true)

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ The class `spades` contains the styling rules needed to make the card turn into
1717

1818
There are two possible suite classes you can apply to the html element to make it look like a real poker card.
1919

20-
# 📝 Instructions:
20+
## 📝 Instructions:
2121

2222
Replace the class property `spades` of the `<div>` with the class `heart` and look at the results.
2323

24+
25+
## Expected result:
26+
2427
![Poker Card Heart](https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/master/.learn/assets/04.2-1.png?raw=true)

0 commit comments

Comments
 (0)