As a user, when I make my sandwich selections and click enter I should see a total cost for my sandwich.
AC
WHEN the page loads
THEN I should see a button that says DoneAND when clicked, all of the prices of selected options should be added up
AND that total should be printed to the DOM.
Dev Tools
Create a dynamic button that's labeled Done
Add event listener when clicked that runs a function called totalComplete
totalComplete should add all selected option's prices together and print it to DOM
User Story
As a user, when I make my sandwich selections and click enter I should see a total cost for my sandwich.
AC
WHEN the page loads THEN I should see a button that says
Done
AND when clicked, all of the prices of selected options should be added up AND that total should be printed to the DOM.Dev Tools
Done
totalComplete