-
Compile the TypeScript code into JavaScript. If you don't have TypeScript installed you can do it using:
npm install -g typescript
To compile the TypeScript code run:
tsc
This will generate the necessary JavaScript files.
-
Open
index.htmlin a web browser. -
Click on the canvas to release animated joke balls.
-
Resize canvas/window to see the magic!
- JokeAPI: Provides random jokes.