Replace image URL and the size when screen size is less than 740px using javascript or jquery

How to replace image URL and size when screen size is less than 740px using javascript or jquery? For example, I want to show one logo for mobile and a different one for large screens. <p>Large Screens:</p> <div class=”header__logo d-flex align-items-center w-100″ style=”max-width: 200px;”> <img style=”max-width: 200px;” class=”rimage__img rimage__img–fade-in lazyload loaded” data-master=”//cdn.shopify.com/s/files/1.png” data-scale=”2″ itemprop=”logo” alt=”Crafty”…

Javascript For Google Spreadsheet

Here is a screenshot of the “Key-In Data” sheet I am trying to work with: key in data sheet And here is my code: function myFunction(){ var app = SpreadsheetApp; var activeSheet = app.getActiveSpreadsheet().getActiveSheet(); {var emailRange = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(“Sheet1”).getRange(“B26”); var emailAddress=emailRange.getValues(); { var ss = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); ss.getRange(“E2”).setFormula(“=B2+C2+D2”); for (var i=2;i <= 2;i++) { var currentCell =…