Complete the code to create a basic Bootstrap spinner.
<div class="spinner-border text-primary" role="[1]"> <span class="visually-hidden">Loading...</span> </div>
The role="status" attribute tells assistive technologies that this spinner is a status message, indicating loading.
Complete the code to create a small spinner using Bootstrap classes.
<div class="spinner-border [1] text-success" role="status"> <span class="visually-hidden">Loading...</span> </div>
The class spinner-sm makes the spinner smaller than the default size.
Fix the error in the spinner code by completing the missing class.
<div class="[1] text-danger" role="status"> <span class="visually-hidden">Loading...</span> </div>
spinner-growd which is invalid.The correct class for the border spinner is spinner-border. Misspelled classes cause the spinner not to show.
Fill both blanks to create a growing spinner with a secondary color and accessible label.
<div class="[1] text-secondary" role="[2]"> <span class="visually-hidden">Loading...</span> </div>
spinner-border instead of spinner-grow for the growing spinner.role="alert" which is not appropriate here.spinner-grow creates the growing spinner style, and role="status" provides accessibility for screen readers.
Fill all three blanks to create a large border spinner with a warning color and proper accessibility role.
<div class="spinner-border [1] text-warning" role="[2]"> <span class="[3]">Loading...</span> </div>
spinner-sm which makes the spinner small.visually-hidden class to the span.spinner-lg makes the spinner large, role="status" is for accessibility, and visually-hidden hides the loading text visually but keeps it for screen readers.