HeliosX Group interview question

Q: How do I show different questions to a customer in JavaScript when mapping over a specific set of questions?