diff options
author | Louis Pilfold <louis@lpil.uk> | 2023-12-04 17:05:51 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-12-06 16:20:50 +0000 |
commit | e66db486ffa57a1ce68a85ab6cb7bfbb05e260b8 (patch) | |
tree | aa8edd5c1d3e8cfaec2940b8ba2b53520010e21b /lessons/src/lesson001_basics/text.html | |
parent | f90bf50bfa7803494a3f0b6add214bfa980f6573 (diff) | |
download | tour-e66db486ffa57a1ce68a85ab6cb7bfbb05e260b8.tar.gz tour-e66db486ffa57a1ce68a85ab6cb7bfbb05e260b8.zip |
Start content
Diffstat (limited to 'lessons/src/lesson001_basics/text.html')
-rw-r--r-- | lessons/src/lesson001_basics/text.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lessons/src/lesson001_basics/text.html b/lessons/src/lesson001_basics/text.html index 53bd3d3..8e2033a 100644 --- a/lessons/src/lesson001_basics/text.html +++ b/lessons/src/lesson001_basics/text.html @@ -1,3 +1,17 @@ <p> - Hey look, cool stuff! + Here is a program that prints out the text "Hello, Joe!". +</p> +<p> + It does this by using the `println` 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 use the command + <code>gleam run</code> on the command line, but here in this tutorial 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> |