Stuck at Functions Exercise 4 part 3

I’m currently stuck here https://www.codecademy.com/courses/learn-javascript/lessons/functions/exercises/parameters-ii
Everything prints out just fine and I can’t for the life of me figure out why it’s not letting me continue

function takeOrder(topping, crustType) {
  console.log('Order: ' + crustType + ' crust topped with ' + topping);
}

takeOrder('Bacon' , 'Thin');
takeOrder('Pinapple' , 'Thick');
takeOrder('Cheese' , 'Thin');

Hi @systemblaster77699,

Codecademy sometimes check for the exact sentence instructed in the exercise.

Inside the takeOrder function, interpolate the crustType parameter to construct a sentence like this:

Order: thin crust pizza topped with bacon

So change your console.log into ’ crust pizza topped with ’ instead of ’ crust topped with '.

See if it works. :slight_smile:

Edit: I accidentally missed out on the crust. >.<

like

'Order: ’ + crustType + ’ crust pizza topped with ’ + topping

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