Skip to content

Commit

Permalink
Update LICENSE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond authored May 17, 2024
1 parent a24b8e1 commit 0394e35
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Congratulations! You found the hidden examples page!

Here are some examples of DreamBerd - e/acc in action! Sorry - there aren't many.
Here are some examples of DreamBerd in action!

## Hello world

Expand All @@ -24,21 +24,6 @@ when (i < 20) i++!
i = 0!
```

## Keyboard

```java
const var keys = {}!
after ("keydown") e => keys[e.key] = true!
after ("keyup") e => keys[e.key] = false!

const var count = 0!

when (keys[" "] = true) {
count++!
"You've pressed the space bar {count} times"?
}
```

## Fibonacci

```java
Expand All @@ -57,6 +42,16 @@ when (i < 10) {
}
```

## Counter

```java
const var count = 0!
var const Button = <button></button>!
when count Button.textContent = Count: £{count}!
Button.addEventListener click => count++!
document.body.append Button!
```

## The Billion Dollar Mistake

```java
Expand Down

0 comments on commit 0394e35

Please sign in to comment.