You'll often want something when calling an API endpoint from a front-end application. a spinner indicates the application is waiting for a response. When you click a button and wait a few seconds, a spinner appears. your software is processing an action. Make one easily and bootstrap with div class.
Style a Spinner on Page
Render different type of spinners on screen