Changing font size, but only for ceratin cells
<p>I'm getting a syntax error for the if statement. It would be great, if someone could tell me what im doing wrong.</p>

<p>What I'm trying to do is change the text font size to 14 when im editing a certain cell. But the problem now is that i only need certain cells to be font size 14. Every 5 the row starting at A3 should be font size 14.</p>

<p>So:
A3  - font size 14
A8  - font size 14
A13 - font size 14
A18 - font size 14
A23 - font size 14
A28 - font size 14
and so on</p>

<pre><code>function onEdit(e) {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sheet = ss.getSheets()[0];
  var range = e.range;

  if (range.getA1Notation().substr(range.getA1Notation().length-1, range.getA1Notation().length)) == "3" || range.getA1Notation().substr(range.getA1Notation().length-1, range.getA1Notation().length)) == "8") {
    var cell = sheet.getRange(range)
    cell.setFontSize(14);
  }
}
</code></pre>