Help with 4/7


Whenever I run the code, it gives me the error code "Did you call the takeOrder function with two strings within its parentheses, separated by commas?".

The first two instructions get accepted, but the third one doesn't.

This is the code I used:

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

takeOrder('please' , 'help');
takeOrder('this' , 'stuff');
takeOrder('is' , 'confusing');


Ok nvm. I removed the spaces between the strings when I was calling the function, and the code worked.


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