What is the mistake in my code


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



You have an un-closed string on line 2.

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

I hope this helps!


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