Where is the Bug :( ? Exercise 6. Please help me. Thanks


var orangeCoast = function (price) {
    var orangeCoast = price * 5;


i wouldn't store the result of the multiplying in the function, you can name this variable anything you like, total for all you like, and that is what you should log to the console

store the result in total:

var total = price * 5;
// log total to the console

Also, the function should be orangeCost (not coast)


you defined orangeCoast 2 times
and instruction said orangeCoast is function
not understood ? my bad
btw working code :


Now I understand it and see my mistake :slight_smile: Thanks for Help :slight_smile: