Tutorials Examples

Drakon.Tech JavaScript tutorial: the Choice icon

When to use the "Choice" icon

Use the "Question" icon for questions that have two answers, "yes" or "no."

When there is a question that has multiple answers, use the "Choice" icon. The "Choice" icon is a visual equivalent of JavaScript's "switch" statement.

Note:

A "Choice" icon:

A Choice icon