Learn JavaScript
Getting Started
1.5
Lesson

Running code using keyboard

To run the code, you can click on the Run code button in the code editor and that would run the code.

However, you can also run the code without using the mouse.

If you are using Windows, then press Ctrl and then hit Enter to run the code.

If you are using Mac, then press Command and then hit Enter to run the code.

Now try running the code given below without clicking on the Run code button.