4/10 Para2, Ques 1


#1

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

https://www.codecademy.com/courses/learn-javascript-functions/lessons/functions/exercises/parameters-ii?action=lesson_resume&course_redirect=introduction-to-javascript
<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);
};

takeOrder(‘mushrooms’);

<do not remove the three backticks above>

#2

What’s wrong with your code?


#3

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) => {}


#4

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