Complete the code to include the Bootstrap icon library in your HTML.
<head> <link rel=[1] href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"> </head>
rel="script" instead of stylesheet.link tag altogether.The link tag uses rel="stylesheet" to include CSS files like Bootstrap Icons.
Complete the code to add a Bootstrap icon for a heart inside a button.
<button type="button" class="btn btn-primary"> <i class=[1]></i> Like </button>
bi.The class bi bi-heart shows the heart icon from Bootstrap Icons.
Fix the error in the code to correctly display a Bootstrap icon for a check mark.
<span class=[1]></span>
bi-check without bi.Bootstrap icons require both bi and the icon name class, so bi bi-check is correct.
Fill both blanks to create a button with a Bootstrap icon and accessible label.
<button type="button" class="btn btn-success" aria-label=[1]> <i class=[2] aria-hidden="true"></i> </button>
aria-label for accessibility.The aria-label describes the button for screen readers, and the icon uses bi bi-save classes.
Fill all three blanks to create a responsive navbar toggle button with a Bootstrap icon and proper aria attributes.
<button class="navbar-toggler" type="button" data-bs-toggle=[1] data-bs-target=[2] aria-controls=[3] aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>
dropdown instead of collapse for toggle.data-bs-target and aria-controls values.The toggle button uses data-bs-toggle="collapse" to control the collapsible navbar with id navbarSupportedContent. The aria-controls matches the id without the hash.
