This had been my previous attempt from a while back. Definitely not elegant by any means. Your javascript solution makes way more sense.
3 Likes
This had been my previous attempt from a while back. Definitely not elegant by any means. Your javascript solution makes way more sense.