You have not explained what you need help with? What is this code for?
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 the
formatAsMoneyfunction to set
appState.billFormattedto the formatted total bill. The already assigned
appState.countryshould be handy for this task!
- Set the text content of the
data-billSPAN element to the formatted bill saved in
- Assign an array literal to
- Finally, call
uiCanInteractto wrap up
Who is requiring this for you? Can you please supply a link to the site which has these instructions?