i am required to assign data of certain properties of “appState” and then invoke “uiCanInteract”
here is the instruction for it
- Continuing from where you left off in
displayCartTotal
, use theformatAsMoney
function to setappState.billFormatted
to the formatted total bill. The already assignedappState.bill
andappState.country
should be handy for this task! - Set the text content of the
data-bill
SPAN element to the formatted bill saved inappState.billFormatted
- Assign an array literal to
appState.cardDigits
- Finally, call
uiCanInteract
to wrap updisplayCartTotal