On the previous pages you used expressions to add text content (child nodes) and add an event listener. You can also use expressions to set attributes or properties.

Here we've provided a component with a checkbox and a text input. In this step you'll use an expression to enable or disable the text input.

There are five common positions for expressions in Lit templates:

Expressions can use any standard JavaScript.

For more information, see Expressions.