Home For Fiction – Blog

for thinking people

New post every MondayHow not to miss one

haiku

A JavaScript Haiku Generator with User Input

January 24, 2022

My iambic pentameter generator is among the most popular posts on Home for Fiction – and the most popular in the programming category. For a long time I’ve been meaning to make a JavaScript haiku generator as well, but I kept postponing it. Well, no more! In other words…

I thought to offer
a haiku generator
in chilly winter

And since I got into the trouble of doing all that, I thought, what the heck; let’s add user input to the mix. So, let’s see what a JavaScript haiku generator looks like.

JavaScript Haiku Generator
What would a JavaScript haiku generator be without images from Japan!
(more…)