My very first sveltekit app!
the article below is styled with tailwind's typography, and should have a grayish bg:
Welcome to SvelteKit
The world's shortest but padded article styled with typography. If everything worked than this
should have a light grey background.
This app is using tailwindcss for styling, something which I've never used before but hot damn
it makes it easy to turn text purple.
Here we have a num: 2
, and its double: 4
, computed on the
fly using svelte.
Trying out a loop in svelte
The form input is bound to the previously declared variable num and thus it changes the stuff at
the top and the loop below:
2 Times Table
- 2 x 1 =
2
- 2 x 2 =
4
- 2 x 3 =
6
- 2 x 4 =
8
- 2 x 5 =
10
- 2 x 6 =
12
- 2 x 7 =
14
- 2 x 8 =
16
- 2 x 9 =
18
- 2 x 10 =
20
- 2 x 11 =
22
- 2 x 12 =
24
The Times Table as a Table
Num |
Times |
M |
2 |
1 |
2 |
2 |
2 |
4 |
2 |
3 |
6 |
2 |
4 |
8 |
2 |
5 |
10 |
2 |
6 |
12 |
2 |
7 |
14 |
2 |
8 |
16 |
2 |
9 |
18 |
2 |
10 |
20 |
2 |
11 |
22 |
2 |
12 |
24 |
if footers could talk this would be one