Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

Try this




JS with HTML






3 years ago
bro i have done my course

ru doing css course ??
3 years ago
try this code i got output



document.cookie="Hello=World";





3 years ago
oh sorry
3 years ago
yes................ Tq bro i got it.
3 years ago
I was asking provide parameter to the multiple function definition!?
3 years ago
Can u tell me what should I need to change
3 years ago
Bro what was wrong in my code should I need to change "result" to "displayResult"?
And to use callback function right
3 years ago
***function multiply(val1,val2,displayResult)
{
// find result of multiplication
let result = val1 * val2;
displayResult(result);

}

function display(result)
{
console.log("Result: " +result);
}

// call the function
multiply(2,4,display)***
3 years ago
this code i got answer result:8 but it not accepting bro
3 years ago