JavaScript · Beginner · Ticket 3Ticket #3 · from Kwame Mensah, Designer
  1. Example
  2. Warm-up 1
  3. Warm-up 2
  4. Ticket
Brief
NEW TICKET#3 · Clients

Client initials for the avatar

Kwame Mensah · Designer
Opened today

“Clients without a logo get a round badge with their initials, like MR for Maya Reyes. People type names every which way: in lower case, with extra spaces, with a middle name, or just one name. Some badges come out blank. Can you finish initials so every client gets a sensible badge?”

YOUR PLAN
  1. 1Watch an example2 min
  2. 2Warm-up 11 min
  3. 3Warm-up 21 min
  4. 4Fix the ticket8 min
BY THE END YOU CAN
  • Split text into words with split
  • Take the first and last item of an array
  • Make text upper case with toUpperCase
About 12 minutes
Four short steps. Nothing is timed, and you can leave any time.