diff options
Diffstat (limited to 'src/content/chapter0_basics/lesson01_hello_world/en.html')
-rw-r--r-- | src/content/chapter0_basics/lesson01_hello_world/en.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/content/chapter0_basics/lesson01_hello_world/en.html b/src/content/chapter0_basics/lesson01_hello_world/en.html new file mode 100644 index 0000000..a7dfc25 --- /dev/null +++ b/src/content/chapter0_basics/lesson01_hello_world/en.html @@ -0,0 +1,18 @@ +<p>Here is a program that prints out the text "Hello, Joe!".</p> +<p> + It does this by using the <code>println</code> function which has been + imported from the + <a href="https://hexdocs.pm/gleam_stdlib/gleam/io.html" + ><code>gleam/io</code></a + > + module, which is part of the Gleam standard library. +</p> +<p> + In a normal Gleam program this program would be run using the command + <code>gleam run</code> on the command line, but here in this tour the program + is automatically compiled and run as the code is edited. +</p> +<p> + Try changing the text being printed to <code>Hello, Mike!</code> and see what + happens. +</p> |