Javascript – Condition in class
I am working on a project of automating sending emails based on html template from google sheet data using Appscript. Below code worked for me <td class="<?= r1 == "No" ? 'red-bg' : 'green-bg' ?>"><?= r1 ?></td> I want to…