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
99Después de vincular tu sitio web con font-awesome, puedes usar lo siguiente para codificar e insertar un icono específico:
1010
1111``` html
12- <i class =" fa fa-camera-retro" ></i >
12+ <i class =" fas fa-camera-retro" ></i >
1313<!-- "camera-retro" será el nombre de tu icono-->
1414
1515Puedes 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
99After linking your website with font-awesome, you can use the following code to insert a specific icon:
1010
1111``` html
12- <i class =" fa fa-camera-retro" ></i >
12+ <i class =" fas fa-camera-retro" ></i >
1313<!-- "camera-retro" will be the name of the icon -->
1414
1515You can find all the available names here: http://fontawesome.io/icons/
1616```
1717
1818## 📝 Instructions:
1919
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.
2121
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ describe("All the styles should be applied", function() {
3535 expect ( li [ i ] . innerHTML ) . toBeTruthy ( ) ;
3636 }
3737 } ) ;
38- it ( 'the i tag should have a class "fa "' , function ( ) {
38+ it ( 'the i tag should have a class "fas "' , function ( ) {
3939 //or use query selector to compare hoy mane scriptags do we have
4040 const icon = document . querySelectorAll ( "i" ) ;
4141 expect ( document . querySelector ( "i" ) ) . toBeTruthy ( ) ;
You can’t perform that action at this time.
0 commit comments