Step 1: Create a list . Step 2: Open Visual Studio and add SharePoint Add-in (Sharepoint app name changed to Add-in) . Step 3: Edit App.js file with the code given below and add Div tag in ContentPlaceHolderID to display the query result.