Problem with point 4. Parameters II


#1

I can't pass point 3 -> Below the takeOrder function, call the function 3 times and pass in different arguments each time for topping and crustType.

My code:
function takeOrder(topping, crustType) {
console.log('The pizza topped with ' + topping + ' and ' + crustType + ' crust is done. Let\'s eat!');
}

takeOrder('bacon', 'thin');


#2

you only have one function call:

takeOrder('bacon', 'thin');

you need 3 function calls, see error message


#3

Can You write it because I don't understand...


#4

well you could add another function call with for example pineapple and thick as arguments. In total you need 3 function calls.


#5

you need to call takeOrder 3 times then it will work


#6

Just wondering, how old are you guys


#7

please make a topic in corner bar if you want to know such a thing, don't clutter this topic


#8

Help please, what´s wrong with my code??,
function takeOrder(topping, crusType) {
console.log('The pizza topped with ' + topping + ' and ' + crustType + ' crust is done. Let\'s eat!');
}

takeOrder("bacon", "thin");
takeorder("sausage", "thick");
takeOrder("pineapple", "crisp");


#9

You forgot a t in crustType here

Capitalize the o in takeorder here


#10

ThankYou!!!!, (7°o°)7, so much!.

I´ll try don´t forget!!. (/°-°)/.


#11

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