<else>

<else> is a Logic component that is used with the <conditionalContent> component in creating logical statements with DoenetML.

Attributes and Properties

The <else> does not have attributes or properties.


Example: <else> in a <conditionalContent> based on answer

The <else> component is used to define the third <case> response in a <conditionalContent> block.


Example: <else> in a <conditionalContent> based on textInput

The <else> component is used to define a response to all user entries that do not match the given <case> conditions in a <conditionalContent> block.