D.R.Y, Stuck in here,


I'm stuck in D.R.Y :neutral_face: "It looks like you didn't define orangeCost", can someone give me a solution? My code:

var orangecost = function(price, num_oranges) {
    console.log('One orange = '+price);
    console.log('Cost of 5 oranges = '+price*num_oranges);

orangecost(5, 5);


orangeCost (both at definition and call of the function), Cost should be spelled with uppercase C

Also, you want to return (use the return keyword) the total cost (price * num_oranges)


So, I should use "return" keyword?


Among other things, yes


Ok, I'll try it. Thank you.