Complete the code to include Bootstrap CSS using CDN in an HTML file.
<link rel="stylesheet" href="[1]">
Using the CDN link allows you to load Bootstrap CSS directly from the internet without installing it locally.
Complete the command to install Bootstrap via npm.
npm install [1]The npm package name for Bootstrap is 'bootstrap'. This command installs it locally in your project.
Fix the error in the import statement to load Bootstrap CSS from npm in a JavaScript file.
import '[1]';
To import Bootstrap CSS from npm, use the path 'bootstrap/dist/css/bootstrap.min.css'.
Fill both blanks to explain the difference between CDN setup and npm installation.
CDN setup loads Bootstrap [1] from the internet, while npm installation downloads Bootstrap [2] into your project.
CDN setup loads files directly from the internet (remote servers). npm installation downloads files locally into your project folder.
Fill all three blanks to complete the advantages of using npm installation over CDN setup.
npm installation allows [1] control, better [2], and offline [3] of Bootstrap files.
npm installation lets you control the version, customize Bootstrap, and access files offline.