Skip to the content

Lesson 3 of 21 · Basics

Derived values

derived declares a value that comes from other values. Surface calculates it again when one of those values changes. You cannot write to it, so it always agrees with those values.Your turn
  • Add a derived value total that holds price * amount.
  • Show it in the last <Text>.
Preview
1 error
The sandbox needs a browser.