Skip to content

Commit 9839712

Browse files
committed
Added missing instructions to the Readme
1 parent 8f08c05 commit 9839712

File tree

6 files changed

+25
-14
lines changed

6 files changed

+25
-14
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Siga estos pasos para que tu enlace (`anchor`) se vea así:
1010

1111
2. Bordes redondeados: establece el `border-radius` en `4px`.
1212

13+
3. Haz que el `border` sea `1px solid #ffffff`
14+
1315
3. Encuentra y aplica el color: usa el selector de `color` (color picker) para encontrar el color exacto y aplicárselo al `background`.
1416

1517
4. Eliminar subrayado: establece `text-decoration` a `none`.
@@ -18,7 +20,7 @@ Siga estos pasos para que tu enlace (`anchor`) se vea así:
1820

1921
*Para que el botón se vea diferente cuando el usuario pasa el mouse por encima, usamos el selector `:hover`: http://lmgtfy.com/?q=how+to+use+the+hover*
2022

21-
6. Dentro del selector `:hover` cambia el fondo del botón a un color naranja más oscuro.
23+
6. Dentro del selector `:hover` cambia el fondo del botón a `#cc7a00`.
2224

2325
## Reultado esperado:
2426

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ 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. Find and apply the color: Use the color picker to find the color and apply make the background to that color.
11+
3. Set the `border` to `1px solid #ffffff`
1212

13-
4. Remove underline: Set `text-decoration` to `none`.
13+
4. Find and apply the color: Use the color picker to find the color and apply make the background to that color.
1414

15-
5. Set the color of the text to `white`.
15+
5. Remove underline: Set `text-decoration` to `none`.
16+
17+
6. Set the color of the text to `white`.
1618

1719
*To make the button look different when the user hovers over with the mouse, we use the `:hover` selector: http://lmgtfy.com/?q=how+to+use+the+hover*
1820

19-
6. Inside of the `:hover` selector change the background of the button to a `darker orange`.
21+
7. Inside of the `:hover` selector change the background of the button to `#cc7a00`.
2022

2123
## Expected result:
2224

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.orange-btn {
2+
/*your code here*/
3+
padding: 10px;
4+
border-radius: 4px;
5+
border: 1px solid #ffffff;
6+
background-color: rgb(255, 153, 51);
7+
text-decoration: none;
8+
color: white;
9+
}
10+
11+
.orange-btn:hover {
12+
/*YOUR CODE HERE FOR THE HOVER STATE*/
13+
background: #cc7a00;
14+
}
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
.orange-btn {
2-
/*your code here*/
3-
}
4-
5-
.orange-btn:hover {
6-
/*YOUR CODE HERE FOR THE HOVER STATE*/
7-
}

exercises/13-Anchor-Like-Button/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe("All the styles should be applied", function () {
7575
let orangeHoverSelector="";
7676
for (let i=0; i<cssArray.length; i++) {
7777
if (cssArray[i].selectorText===".orange-btn:hover") {
78-
orangeHoverSelector=cssArray[i].style.background;
78+
orangeHoverSelector=cssArray[i].style.background ;
7979
}
8080
}
8181

learn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"video-solutions": true,
1313
"graded": true,
1414

15-
"disableGrading": true,
15+
"disableGrading": false,
1616
"editor": {
1717
"version": "1.0.73"
1818
}

0 commit comments

Comments
 (0)