Motivation and gamification go hand in hand, especially when you’re forcing yourself to do something that should be daily practice

Push-ups, on the other side, are quite healthy

Combine the two, add a bit a of a display: flex; to help elements align, and some JS for fields locking and wrap it with simple number to char conversion …

El Johnny

jBravo

Named after Cartoon Network’s famous Johnny, lays a project that might help

You “encode” a message of your choice with a bash helper:

usage: ./jb <message>

It’ll create an HTML with current date and Base64 encoded string as the file name, containing rows that match each character of given message, with:

Input elements (type=”text” and “submit”) are by default disabled for all days except the current one, ensured by enableToday being scheduled with setInterval

After midnight, subsequent container is selected and enabled, while the previous one get frozen permanently, rendering messages useless, if you haven’t completed the target

Motivation?

Having an option of doing any number of reps, and directly updating it in the jBravo, will drive you to unveil the letter for that day

Target character is updated with each entered push-up, showing different results during the training

Try it – checkout the code, think of a message that’ll hold you for some time and ./jb it

$ ./jb '?1337'
$ ls *html
09-10-2019-PzEzMzcK.html

Fire it up in your favorite browser and start revealing those letters every day

jBravo