Javascript

am doind this course https://www.codecademy.com/courses/build-interactive-websites/projects/chore-door and am in task 43 am stuck i don’t know what the problem am told to call my function in js how do i go about this any help i would appreciate

Hello @jemimahchepyego, welcome to the forums! I’m sorry if this isn’t the answer you are looking for, but if I understand correctly, you are asking how to call a function in JS? If that is what you are asking:
JS function calling:

function function1() {
//does stuff
} 

//You can either console.log the response, if there is a return inside the function:
console.log(function1());

//You can save the function to a variable, if there is a return inside the function:
let var1 = function1();

//Or you can directly call the function:
function1();

I hope this helps!

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