The Name Game

Go to Source

See the Code
See it Full Page
See Details

Edit: One of my first pens here on CodePen and one of my first successful attempts at using JavaScript.

"<a href="https://www.youtube.com/watch?v=5MJLi5_dyn0">The Name Game</a>," a 1964 song by Shirley Ellis.

– Replace the name's initial consonant sounds with "bo b-", "fo f-" and "mo m-" (Kate -> bo-bate, fo-fate, mo-mate) on lines 2, 3, & 4, respectively
– If the name begins with a b, f, or m, drop the letter for that line (Billy -> bo-illy, Fred -> fo-red, Mary -> mo-ary)

This Pen uses: HTML, SCSS, JavaScript, and