This week's CodePen Challenge is based on an open interpretation of the theme "Dots and Dashes".
As a solution to this, I decided to build on the theme of morse code, and create something interactive and educational.
Using a library, morse-decoder, I wrote a simple JS script that listens for key inputs, and then this is encoded into morse code and output on the screen. As a bonus, the audio version of that morse code character is also played.
Check it out here (click inside the preview below first, so the script can detect your key press!)