Skip to content

Commit 4114e9f

Browse files
committed
Add finish local_storage example.
1 parent 1cd9c07 commit 4114e9f

File tree

5 files changed

+5478
-33
lines changed

5 files changed

+5478
-33
lines changed

Diff for: Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ common_examples := counter\
33
flight_booker\
44
hello_world\
55
temperature_converter\
6-
timer
6+
timer\
7+
local_storage
78

89
all_examples := $(common_examples) todo_mvc
910

Diff for: README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,27 @@ Traditionally the first program one creates in any language, here implemented as
1313

1414
[7GUIs](https://eugenkiss.github.io/7guis) is a set of small tasks, suitable for demonstrating how common GUI patterns can be implemented in a specific framework. The following folders implement the solutions to the [7GUIs tasks](https://eugenkiss.github.io/7guis/tasks):
1515

16-
* counter
16+
* counter
1717
[code](https://github.com/gren-lang/example-projects/blob/main/counter/src/Main.gren) /
1818
[demo](https://htmlpreview.github.io/?https://github.com/gren-lang/example-projects/blob/main/counter/Example.html)
19-
* temperature\_converter
19+
* temperature\_converter
2020
[code](https://github.com/gren-lang/example-projects/blob/main/temperature_converter/src/Main.gren) /
2121
[demo](https://htmlpreview.github.io/?https://github.com/gren-lang/example-projects/blob/main/temperature_converter/Example.html)
22-
* flight\_booker
22+
* flight\_booker
2323
[code](https://github.com/gren-lang/example-projects/blob/main/flight_booker/src/Main.gren) /
2424
[demo](https://htmlpreview.github.io/?https://github.com/gren-lang/example-projects/blob/main/flight_booker/Example.html)
25-
* timer
25+
* timer
2626
[code](https://github.com/gren-lang/example-projects/blob/main/timer/src/Main.gren) /
2727
[demo](https://htmlpreview.github.io/?https://github.com/gren-lang/example-projects/blob/main/timer/Example.html)
2828
* __more to come__
2929

30+
## local\_storage
31+
32+
[code](https://github.com/gren-lang/example-projects/blob/main/local_storage/src/Main.gren) /
33+
[demo](https://htmlpreview.github.io/?https://github.com/gren-lang/example-projects/blob/main/local_storage/Example.html)
34+
35+
This program shows how you can make use of the `gren-lang/web-storage` package for storing values in local storage.
36+
3037
## files
3138

3239
[code](https://github.com/gren-lang/example-projects/blob/main/files/src/Main.gren) /

0 commit comments

Comments
 (0)