🐾 Pet Shop · Mission 3 of 6

🐶 Name the Puppy

A new puppy has arrived, and the customer gets to choose its name.

Your mission

  1. Ask "What should we call the puppy?" and keep the answer as name.
  2. Make pet = {name: name, kind: "dog", energy: 5}.
  3. Say "Welcome, <the puppy's name>!" using pet.name.

Getting the mission ready…