What is the mistake in my code


#1

function orangeCost(price){
console.log('The Total price of Oranges are: ’ +(price*5));

}
orangeCost(5);


#2

You have an un-closed string on line 2.

Use either a single quote (’ ') or double quotes (" "), correctly.

I hope this helps!


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.