1. Wrap your 'preload-wrap' element with the 'preloader js-preloader' classes like shown in the screenshot.
2. Add these lines of code in your CSS file.
3. Please make sure you have jQuery included in your HTML file.
5. Now your preloader should fade out when the page is loaded.