4/10 Para2, Ques 1


i am stuck here, can help me see what’s wrong ?

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>


const takeOrder = (numberOne, numberTwo) => {
const crustType = (numberOne + number Two ) / 2 ;
console.log('Order: pizza topped with ’ + topping);


<do not remove the three backticks above>


What’s wrong with your code?


Hey @aaronjoseph2001 are you on task 1 of the lesson Parameters 2?

This task asks that you continue to build from the code found in the previous lesson (you can restart the challenge to help with that)

Task1: asks for a second parameter crustType to be added to takeOrder, the first parameter should be topping

It should follow the html structure found here

const takeOrder = (parameter1, parameter2) => {}


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