1
Total cost shows up as $0 in my js restaurant demo. Why?
mhs_mhs123 (4)

Hey everyone, I am a new python and js dev and I'm trying to learn the syntax for both these languages. I'm currently working on a restaurant demo in javascript. Everything works great until the last alert message where it displays the total cost as $0 for the user. Any help would be appreciated. Thanks and have a great day!

https://repl.it/@mhs_mhs123/jsrestuaurantdemo

You are viewing a single comment. View All
Answered by eankeen (528) [earned 5 cycles]
View Answer
1
mhs_mhs123 (4)

@eankeen Thanks for your advice. I'll try it and let you know