From the course: Bootstrap 4 with Sass

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing JavaScript libraries

Installing JavaScript libraries - Bootstrap Tutorial

From the course: Bootstrap 4 with Sass

Start my 1-month free trial

Installing JavaScript libraries

- [Instructor] Next, we'll install an icon library called Font Awesome that I use for a lot of my projects. Now just like with everything else, we've already installed this into our Node Modules folder by using the package.JSON file, and what I need is to go ahead and start working with the icons. I want to click on Start Using Free here to show you something. Now when you install Font Awesome, you have two options. You can install a CSS file, and the CSS file uses a web font, as you can see right here, or you can use the SVG version, which uses a JAVA script file. I like the SVG version better because it's more flexible, it writes out SVG code into your application or project, and so it tends to be more flexible than just using a web font. So it's going to be a little bit different, and the other thing that I wanted to talk about is when do you want to use something like this that is a just a script that you would include in your template, and when do you want to work directly for…

Contents