Wrap The SharePoint Promoted Links Using JavaScript

In this article, we are going to see how to wrap the promoted links icons in the SharePoint home page. To do that we need to add the below JavaScript in the Sharepoint home page using Script Editor/Content Editor.