Learn how to write and run JavaScript on Observable
1 of 5

Welcome to Observable! To take your first step, replace the comment in the cell on the left with a simple calculation:

1 + 2

When you’re done, click Run cell or press Shift-Enter to run the cell. You should then see the number 3 appear above the code.

This is the result of the calculation. On Observable, it appears above the code.