Don't repeat yourself


Hi, I have a problem with this exercise.
My function is not valid but I don't know why.

var coutOrange = function(prix) {
console.log(prix + "*" + "5" );



On the last line, you're calling your parameter (prix) rather than your function (coutOrange). Change the last line to read


and you should be good.


var coutOrange = function(prix) {
console.log(prix * 5 );


if you want the result write it like that :wink: !


You have multiple problems in this.
1. the function is orangeCost not coutorange. You must copy paste it from instruction otherwise it will not work.
2. numbers and signs must not be in "quote". quotation is for string i.e. text.
write like