File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
exercises/11-Font-Awesome-Icons Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Font-awesome resuelve el problema de la "imagen" creando una nueva fuente en don
9
9
Después de vincular tu sitio web con font-awesome, puedes usar lo siguiente para codificar e insertar un icono específico:
10
10
11
11
``` html
12
- <i class =" fa fa-camera-retro" ></i >
12
+ <i class =" fas fa-camera-retro" ></i >
13
13
<!-- "camera-retro" será el nombre de tu icono-->
14
14
15
15
Puedes encontrar todos los nombres disponibles aquí: http://fontawesome.io/icons/
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ Font-awesome solve the "image" problem by creating a new font- each letter is a
9
9
After linking your website with font-awesome, you can use the following code to insert a specific icon:
10
10
11
11
``` html
12
- <i class =" fa fa-camera-retro" ></i >
12
+ <i class =" fas fa-camera-retro" ></i >
13
13
<!-- "camera-retro" will be the name of the icon -->
14
14
15
15
You can find all the available names here: http://fontawesome.io/icons/
16
16
```
17
17
18
18
## 📝 Instructions:
19
19
20
- Add two more items into your list and add a different icon at the beginning of each item.
20
+ 1 . Add two more items into your list and add a different icon at the beginning of each item.
21
21
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ describe("All the styles should be applied", function() {
35
35
expect ( li [ i ] . innerHTML ) . toBeTruthy ( ) ;
36
36
}
37
37
} ) ;
38
- it ( 'the i tag should have a class "fa "' , function ( ) {
38
+ it ( 'the i tag should have a class "fas "' , function ( ) {
39
39
//or use query selector to compare hoy mane scriptags do we have
40
40
const icon = document . querySelectorAll ( "i" ) ;
41
41
expect ( document . querySelector ( "i" ) ) . toBeTruthy ( ) ;
You can’t perform that action at this time.
0 commit comments