Skip to content

Commit 648c524

Browse files
authored
Merge branch '4GeeksAcademy:master' into 06-Practicing-Rules
2 parents 678810a + 8b591f6 commit 648c524

File tree

31 files changed

+71
-55
lines changed

31 files changed

+71
-55
lines changed

README.es.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,16 @@ Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Co
4848
4949
## Instalación manual
5050

51-
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+:
51+
Clona el repositorio en tu ambiente local y sigue los siguientes pasos:
52+
53+
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+:
5254

5355
```bash
5456
$ npm i learnpack -g
5557
$ learnpack plugins:install learnpack-html
5658
```
5759

58-
2. Descarga estos ejercicios en particular usando learnpack y luego `cd` para entrar en la carpeta:
60+
2. Descarga estos ejercicios en particular usando LearnPack y luego `cd` para entrar en la carpeta:
5961

6062
```bash
6163
$ learnpack install css-tutorial-exercises-course
@@ -65,7 +67,7 @@ $ learnpack install css-tutorial-exercises-course
6567
6668
3. Inicializa el tutorial/ejercicios ejecutando el siguiente comando en el mismo nivel donde se encuentra tu archivo learn.json:
6769

68-
```sh
70+
```bash
6971
$ npm i jest@24.8.0 -g
7072
$ learnpack start
7173
```
@@ -94,5 +96,5 @@ Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds
9496

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

97-
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).
99+
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).
98100

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
</table>
1414

1515
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-
<!-- endhide -->
1716

1817
*Estas instrucciones [están disponibles en 🇪🇸 español](https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/master/README.es.md) :es:*
18+
<!-- endhide -->
1919

2020
## You'll be learning the following concepts:
2121

@@ -50,7 +50,9 @@ You can open these exercises in just a few seconds by clicking: [Open in Codespa
5050
5151
## Manual installation
5252

53-
1) Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 14+:
53+
[Clone the repository](https://4geeks.com/how-to/github-clone-repository) in your local environment and follow the steps below:
54+
55+
1) Install LearnPack, the package manager for learning tutorials and the HTML compiler plugin for LearnPack, make sure you also have node.js 14+:
5456

5557
```bash
5658
$ npm i learnpack -g
@@ -67,7 +69,7 @@ $ learnpack install css-tutorial-exercises-course
6769
6870
3) Start the tutorial/exercises by running the following command at the same level where your learn.json file is:
6971

70-
```sh
72+
```bash
7173
$ npm i jest@24.8.0 -g
7274
$ learnpack start
7375
```
@@ -96,4 +98,4 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
9698

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

99-
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).
101+
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-Hello-World/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# `01` Hello World en CSS
2+
# `01` Hello World in CSS
33

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# `01.1` Etiqueta Style
2+
# `01.1` The Style Tag
33

44
Si quieres añadir estilos a tu sitio web escribiendo CSS siempre debes hacerlo dentro de una etiqueta `<style>`.
55
Puedes tener cuantas etiquetas `<style>` quieras, pero se recomienda solo tener una al principio del código de tu sitio web.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `01.2` Tu Primer Estilo
1+
# `01.2` Your First Style
22

33
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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `01.3` Tu Segundo Estilo
1+
# `01.3` Your Second Style
22

33
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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `02` Hoja de estilos separada
1+
# `02` Separate Stylesheet
22

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

exercises/02.1-Background/README.es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `02.1` Background (fondo)
1+
# `02.1` Background
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` (fondo) de 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

exercises/02.1-Background/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<title>02 Background</title>
66
</head>
77
<body>
8-
My background should be an image with th size "contain"
8+
My background should be an image with the size "contain"
99
</body>
1010
</html>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `03` Inline Styles (estilos en línea)
1+
# `03` Inline Styles
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` (estilos en línea) 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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `04` El selector de clase
1+
# `04` Class Selector
22

33
Hay muchas formas de seleccionar los elementos HTML para aplicarles estilos, hasta ahora solo hemos usado los selectores de etiquetas, así que hablemos sobre el selector `.class`:
44

exercises/04-Class-Selector/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the class property of the HTML element to select it. Styling rules will appl
1818
}
1919
```
2020

21-
*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`.*
2222

2323
## 📝 Instructions:
2424

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `04.1` Reglas Combinadas
1+
# `04.1` Combined Rules
22

33
Los archivos CSS ocupan espacio en tu servidor y también tardan en descargarse (como todo); es otro documento de texto que el navegador debe descargar antes de mostrar la página, por lo que es importante mantener el documento CSS lo más pequeño posible.
44

@@ -34,4 +34,5 @@ Donde el valor de la izquierda de la barra `/` es la propiedad `background-posit
3434
## 💡 Pista:
3535

3636
- Cómo usar el background: https://www.w3schools.com/cssref/css3_pr_background.php
37+
3738
- Cómo usar el padding: https://www.w3schools.com/css/css_padding.asp

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# `04.2` Aplica varias clases
1+
# `04.2` Apply several classes
22

33
Hemos preparado una pequeña hoja de estilos CSS que contiene estilos CSS para replicar cartas de poker.
4-
Vamos a usar clases y aplicarlas al mismo elemento `<div>`.
4+
5+
Vamos a usar dos clases y aplicarlas al mismo elemento `<div>`.
56

67
```html
78
<div class="card spades">9</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `04.3` Selector de ID
1+
# `04.3` The ID CSS Selector
22

33
También puedes seleccionar un elemento por su `#id` y aplicarle estilos.
44

exercises/05-Specificity/README.es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `05` Especificidad
1+
# `05` Specificity
22

33
Al crear un documento CSS, se debe comenzar desde el selector más genérico y terminar con el más específico, esa es la forma en que funciona CSS.
44

@@ -13,4 +13,4 @@ Se trata del nivel de **especificidad**. Si especificas que tu `div` con `id="th
1313

1414
## 💡 Pista:
1515

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

exercises/05-Specificity/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ describe("All the styles should be applied", function () {
4343
let cssArray = document.styleSheets[0].cssRules;
4444
let orangeHoverSelector = "";
4545
for (let i = 0; i < cssArray.length; i++) {
46-
if (cssArray[i].selectorText === "#thirditem" && cssArray[i].style._importants.background === "important") {
47-
orangeHoverSelector = cssArray[i].style.background;
46+
if (cssArray[i].selectorText === "#thirditem" && cssArray[i].style._importants.background === "important" || cssArray[i].style._importants["background-color"] === "important") {
47+
orangeHoverSelector = cssArray[i].style.background || cssArray[i].style["background-color"];
4848
}
4949
}
5050

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# `06` Practicando las reglas
1+
# `06` Practicing Rules
22

33
## 📝 Instrucciones:
44

55
1. Establece esta URL como la imagen de fondo de la página y repítela solo verticalmente: `../../.learn/assets/background-vertical.jpg?raw=true`
66

77
2. Cambia el tipo de fuente (`font-family`) del `h1` a `Courier` y el resto del sitio web a `Times New Roman`.
88

9-
3. Cambia el color del `h1` a rojo(`red`).
9+
3. Cambia el color del `h1` a rojo (`red`).
1010

11-
4. Haz que todos los `h2` tengan subrayado.
11+
4. Haz que todos los `h2` tengan subrayado (`underline`).
1212

1313
5. Agrega un `left padding` a todo el documento de `20px` para que sea más fácil de leer.
1414

15-
6. Agrega un fondo blanco semitransparente (`semi-transparent background (0.2)`) al primer párrafo para que sea más fácil de leer (tienes que usar `rgba` para esto).
15+
6. Agrega un fondo blanco semitransparente (`semi-transparent background (0.2)`) al **primer párrafo** para que sea más fácil de leer (tienes que usar `rgba` para esto).
1616

1717
7. Luego aplica un `padding` de `5px` a todos los lados de ese párrafo.
1818

19-
8. Cambia el color del `anchor` "hover" a verde (`green`) y elimina el subrayado (tienes que pasar el cursor encima del anchor para probarlo).
19+
8. Cambia el color del `anchor` **hover** a verde (`green`) y elimina el subrayado (tienes que pasar el cursor encima del anchor para probarlo).
2020

2121
## El resultado debería ser algo como esto:
2222

exercises/06-Practicing-Rules/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ tutorial: "https://www.youtube.com/watch?v=4wguurrl-lU"
88

99
1. Set this URL as the background image of the page, and repeat it vertically only: `../../.learn/assets/background-vertical.jpg?raw=true`
1010

11-
2. Change the font-family of the `h1` to `Courier` and the rest of the website to `Times new Roman`.
11+
2. Change the `font-family` of the `h1` to `Courier` and the rest of the website to `Times new Roman`.
1212

1313
3. Change the color of `h1` to `red`.
1414

15-
4. Make all the `h2's` with an `underline`.
15+
4. Make all the `h2` have an `underline`.
1616

1717
5. Add a `left padding` to the whole document of `20px` to make it easier to read.
1818

19-
6. Add a white `semi-transparent background (0.2)` to the `first paragraph` to make it easier to read (you have to use `rgba` for that).
19+
6. Add a white `semi-transparent background (0.2)` to the **first paragraph** to make it easier to read (you have to use `rgba` for that).
2020

2121
7. Then apply a `padding` of `5px` to all sides of that paragraph.
2222

23-
8. Change the `anchor` "hover" color to `green` and remove the underline (you have to actually hover the anchor to test it).
23+
8. Change the `anchor` **hover** color to `green` and remove the underline (you have to actually hover the anchor to test it).
2424

2525
## The result should be something like this:
2626

exercises/07-Very-Specific-Rules/README.es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `07` Reglas Muy Específicas
1+
# `07` Very Specific Rules
22

3-
## **Importante:**
3+
## 🔎 Importante:
44

55
En este ejercicio, puedes agregar tu código solo arriba del **READ-ONLY BLOCK** del código, puedes agregar tantas líneas como desees, pero siempre arriba.
66

exercises/07-Very-Specific-Rules/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=2YkLDRZFk40"
44

55
# `07` Very Specific Rules
66

7-
# **Important:**
7+
## 🔎 Important:
88

99
In this exercise, you can add your code only above the **READ-ONLY BLOCK** of the code, you can add as many lines as you want, but always above.
1010

@@ -21,6 +21,6 @@ In this exercise, you can add your code only above the **READ-ONLY BLOCK** of th
2121
![Example Image](../../.learn/assets/07-1.png?raw=true)
2222
>Important: You should **NOT** modify the index.html file.
2323
24-
## :bulb: Hint:
24+
## 💡 Hint:
2525

2626
1. The `!important` attribute helps to override other attributes.

exercises/07-Very-Specific-Rules/tests.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe("All the styles should be applied", ()=>{
2626
}
2727
let reg = new RegExp(/color:\s*red\s*!important\s*;/gm)
2828

29-
expect(reg.test(color)).toBeTruthy();
29+
expect(reg.test(color.toLowerCase())).toBeTruthy();
3030
});
3131

3232
test("The ol second element background should be green", ()=>{
@@ -44,6 +44,14 @@ describe("All the styles should be applied", ()=>{
4444

4545
}
4646

47+
if(background){
48+
background = background.toLowerCase()
49+
}
50+
51+
if(backgroundColor){
52+
backgroundColor = backgroundColor.toLowerCase()
53+
}
54+
4755
} expect(background === 'green' || backgroundColor === 'green').toBeTruthy();
4856
})
4957

@@ -62,7 +70,7 @@ describe("All the styles should be applied", ()=>{
6270

6371
}
6472

65-
} expect(background === "yellow" || backgroundColor === "yellow").toBeTruthy();
73+
} expect(background.toLowerCase() === "yellow" || backgroundColor.toLowerCase() === "yellow").toBeTruthy();
6674
})
6775

6876
test("Write all your rules above the existing code", ()=>{

exercises/08-Rounded-Image/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `08` Imagen Redondeada
1+
# `08` Rounded Image
22

33
Muchos sitios web usan imágenes de perfil redondeadas, ¡una técnica que realmente hace que un sitio web sea más hermoso!
44

exercises/08-Rounded-Image/README.md

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

33
A lot of websites use rounded profile images, a technique that really makes a website more beautiful!
44

5-
The obvious way to create a rounded profile picture is to create an image tag and apply `border-radius:100%`. The problem with this approach is that it only works for squared pictures... Profile pictures with different height and width will not look like a circle, they will look like ovals:
5+
The obvious way to create a rounded profile picture is to create an image tag and apply `border-radius:100%`.
6+
7+
The problem with this approach is that it only works for squared pictures... Profile pictures with different height and width will not look like a circle, they will look like ovals:
68

79
![Example Image](../../.learn/assets/08-1.png?raw=true)
810

exercises/09-Anchor-Styles/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `09` Estilos de enlaces (anchor) 3D
1+
# `09` 3D Anchor Styles
22

33
A las personas les gusta sentir que están haciendo clic en algo, una manera de lograrlo es fingir un efecto 3D. Para hacerlo, los diseñadores normalmente juegan con los bordes, por ejemplo:
44

exercises/10-Your-Own-Font/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `10` Tu Propia Fuente
1+
# `10` Your Own Font
22

33
Aquí puedes encontrar las fuentes de Google: https://fonts.google.com
44

exercises/11-Font-Awesome-Icons/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `11` Iconos Font Awesome
1+
# `11` Font Awesome Icons
22

33
Como desarrollador, querrás utilizar ciertos iconos para que tu sitio web sea fácil de entender. Por ejemplo, sabemos que el icono de "papelera" significa "eliminar".
44

exercises/12-Relative-Length-EM-REM/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `12` Longitud Relativa em, rem
1+
# `12` Relative Length em, rem
22

33
Hasta ahora, hemos trabajado con píxeles como unidad de medida, por ejemplo, diciendo que un contenedor o caja tiene `100px` de ancho.
44

exercises/12-Relative-Length-EM-REM/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Since the second `div` has a bigger based `font-size`, then the heading resizes
1212

1313
## In short:
1414

15-
+ em: Relative to the current font-size of the parent.
15+
+ em: Relative to the current `font-size` of the parent.
1616

17-
+ rem: Relative to the original font-size of the page.
17+
+ rem: Relative to the original `font-size` of the page.
1818

1919

2020
## 📝 Instructions:

exercises/13-Anchor-Like-Button/README.es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `13` Enlace (anchor) como botón
1+
# `13` Anchor Like Button
22

33
Los enlaces (`anchors`) no solo se usan dentro del texto: cuando usas enlaces (`anchors`) fuera del texto, es mejor hacer que se vean como botones para que la experiencia del usuario sea más amigable.
44

@@ -20,6 +20,6 @@ Sigue estos pasos para que tu enlace (`anchor`) se vea así:
2020

2121
6. Dentro del selector `:hover` cambia el fondo del botón a `darkorange`.
2222

23-
## Resultado esperado:
23+
## 💻 Resultado esperado:
2424

2525
![Example Image](../../.learn/assets/13-1.gif?raw=true)

exercises/13-Anchor-Like-Button/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Anchors are not only used within text: when you are going to use anchors outside
88

99
2. Rounded borders: set `border-radius` to `4px`.
1010

11-
3. The background should be `orange` when not hovered, and `darkorange` on hover (`:hover`).
11+
3. The `background` should be `orange` when not hovered, and `darkorange` on hover (`:hover`).
1212

1313
4. Remove underline: set `text-decoration` to `none`.
1414

@@ -18,6 +18,6 @@ Anchors are not only used within text: when you are going to use anchors outside
1818

1919
6. Inside of the `:hover` selector change the background of the button to `darkorange`.
2020

21-
## Expected result:
21+
## 💻 Expected result:
2222

2323
![Example Image](../../.learn/assets/13-1.gif?raw=true)

0 commit comments

Comments
 (0)