Skip to content

Commit

Permalink
Add comment to explain first slider cell
Browse files Browse the repository at this point in the history
Fix #7.
  • Loading branch information
giordano committed Jun 11, 2024
1 parent 79283ce commit 2ac788d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions notebook.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ You can also use widgets to set the value of variables.

# ╔═╡ 64a8c492-f6cd-4b31-b200-f15210fdc6af
a = 2

## to make `a` into a slider, uncomment the following line and comment the above one.
## Comments in Julia use the # syntax.

# @bind a Slider(0:10; show_value=true, default=2)

# ╔═╡ ef5fe3c7-d01d-48de-a9c5-1010d8c75f5e
Expand Down

0 comments on commit 2ac788d

Please sign in to comment.