10000 Add Running Scala on Browser section · soronpo/scala.github.com@a7e69af · GitHub
[go: up one dir, main page]

Skip to content

Commit a7e69af

Browse files
committed
Add Running Scala on Browser section
This informs readers Scala is easily accessible right on their browsers. It lowers the first step towards writing Scala code.
1 parent 054fb9c commit a7e69af

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tutorials/tour/basics.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ previous-page: tour-of-scala
1212

1313
In this page, we will cover basics of Scala.
1414

15+
## Running Scala on Browser
16+
17+
You can run Scala on browser by using [ScalaFiddle](https://scalafiddle.io).
18+
19+
1. Go to https://scalafiddle.io.
20+
2. Copy and paste `println("Hello, world!")` to the left pane.
21+
3. Hit "Run" button and see it prints "Hello, world!" on the right pane.
22+
23+
It is a perfect way for anybody to experiment a piece of Scala code anywhere, anytime!
24+
1525
## Variables
1626

1727
You can define variables with `var` keyword.

0 commit comments

Comments
 (0)
0