JSFiddle - React, Tailwind, and code Playground

by JeffC

HTML

<script src="https://getfirebug.com/firebug-lite-debug.js"></script>

JavaScript

var cats =
    [
        [ "Wedding", "Invitations", "Save the Date", "Announcements", "Party Invitations", "Reception & Ceremony", "Gift Registry Cards", "Place Cards", "Thank You Cards", "RSVP Cards", "Address Labels & Envelope Seals", "Enclosure Cards" ],
        [ "Personalized Stationery", "Thank You Notes", "Labels", "Gift Registry Cards", "Memo Pads", "Photo Cards" ],
        [ "Occasions", "Birthdays", "General Gifts", "Thank You", "Summer Collection", "Wedding", "Baby & Kids", "Father's Day", "Grad Gifts", "Back to College", "Holiday", "Moving" ],
        [ "Personalized Stamps", "Address Stamps" ],
        [ "Baby & Kids", "Baby Shower Invitations", "Birth Announcements", "Birthday Party Invitations", "Baby Personal Stationery", "Kids Personal Stationery", "Baby Gift Registry Cards", "Thank You Cards" ],
        [ "Invitations", "Baby Shower", "Bridal Shower", "Birthday Party", "Holiday Party", "Wedding", "Anniversary Party", "Graduation", "Party Invitations for Grown Ups" ]
    ];

for (i = 0; i < cats.length; i++)
{
    for (j = 0; j < cats[i].length; j++)
    {
        if (j === 0)
        {
            console.log(cats[i][j]);
        }
        else
        {
            console.log("-" + cats[i][j]);
        }
    }
}