Lesson 1: Write your first Google Apps code

Go to https://script.google.com

Create a new project

type the following:

function myFunction() {
  var ss = SpreadsheetApp.create('MyFirstSpreadsheetApp');
}