Tag Like Text Field Input Separator Using Comma

Say you want to provide an option for users to group certain parts of the text input as one item you can use this snippet designed by Julien Dargelos, where the text before each comma is grouped into a tag like visual element.

If you are having trouble with the pen, try the archived copy on GitHub

Tag Input Snippet

See the Pen Tags Input by Julien Dargelos (@juliendargelos) on CodePen.0