Django-Poll-App
Django-Poll-App copied to clipboard
Loader
Hi @devmahmud. Need to put a loader for all the click events. Sometimes it's taking for time to give a response while the user can not assume whether that click was hit or not.
Thank you.
First we have to create the loader style :
We have to even add the javascript code to enable loader and hide the loader after content is ready to display
Then create a div tag with class name : 'loading-spinner' and enclose it in div container with class name : 'loading-spinner-container' and add the above html code in either separate html file or in the base html template.