6 posts with tag JavaScript

Adding audio to your blog

Learn how to create a customized HTML5 audio player using Howler.js for your blog.

· 2 minutes reading time

Diagrams with Mermaid

Discover Mermaid's Markdown-inspired syntax to craft diverse diagrams using simple text in your blog posts. Learn how to integrate and customize Mermaid diagrams.

· 3 minutes reading time

Text scrambler

A text is still readable if you re-arrange the letters of every word, but leave the first and last character in place.

· 4 minutes reading time

The Game of Fifteen

A playable online game. Not every possible starting position is solvable, so we have to take special care.

· 6 minutes reading time

The Monty-Hall-Problem

The problem is a brain-teaser, in the form of a probability puzzle. It has sparked endless debate. See the solution with a simulator.

· 6 minutes reading time

Tail recursion with trampoline

Node.js does not support tail call optimization, but a trampoline has the same effect.

· 11 minutes reading time