Complete the code to import only the Bootstrap button CSS.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap[1]">
The main Bootstrap CSS file is bootstrap.min.css. To import only button styles, you still use the main CSS or a custom build. Here, the correct completion is .min.css.
Complete the code to import only the Bootstrap button JavaScript bundle.
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap[1]" integrity="sha384-..." crossorigin="anonymous"></script>
The Bootstrap JavaScript bundle file is named bootstrap.bundle.min.js. This includes all needed JS components.
Fix the error in the import statement to load only the Bootstrap modal CSS.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap[1]">
The correct Bootstrap CSS file is bootstrap.min.css. There is no separate bootstrap-modal.min.css file. To use modal styles, import the main CSS file.
Fill both blanks to import Bootstrap's grid CSS and JavaScript bundle correctly.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap[1]"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap[2]" crossorigin="anonymous"></script>
Bootstrap does not provide separate CSS files for grid only, so the main CSS file bootstrap.min.css is used. The JavaScript bundle is bootstrap.bundle.min.js.
Fill all three blanks to import Bootstrap's utilities CSS, popper JS, and Bootstrap JS bundle correctly.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap[1]"> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper[2]" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap[3]" crossorigin="anonymous"></script>
Bootstrap utilities are included in the main CSS file bootstrap.min.css. Popper JS uses .min.js suffix. Bootstrap JS bundle uses -bundle.min.js.
