Dry?


#1

var orangeCost = function(cost) {
var price = 10;
var total = price *5;

console.log(total) }
orangeCost(5);

where am I getting wrong?


#2

Hi
I assume that your problem comes from the fact that you don't use the parameter cost in the function. The total should be equal to cost * 5. The instructions in
https://www.codecademy.com/en/courses/javascript-beginner-en-6LzGd/1/1?curriculum_id=506324b3a7dffd00020bf661
are quite explicit on it
Cheerio


#3

Try to remove this line on your program:

and replace the price with your parameter which in cost on this part: