https://www.codecademy.com/courses/learn-javascript/lessons/functions/exercises/return-ii
<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I feel like i’m doing exactly what it asks but it keeps giving me an error message.
var orderCount = 0;
function takeOrder(topping, crustType){
orderCount+=1;
console.log('Order: pizza '+ crustType + ’ topped with ’ + topping);
}
function getSubTotal(itemCount){
return itemCount* 7.5;
}
function getTax(){
return getSubTotal * (0.06);
}
takeOrder(“sardines”, “pan style”);
takeOrder(“bacon”, “deep dish”);
takeOrder(“pepperoni”, “thin crust”);
console.log(getSubTotal(orderCount));
<do not remove the three backticks above>