Signup/Sign In

Answers

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

Your code looks ok to me, can you share what error you get?
Here is what worked for me:
***
function greet(name="NULL")
{
if(name!="NULL")
{
console.log("Hello "+name+"! Thanks for joining us.");
}
else {
console.log("What is your name?");
}
}
// call the function
greet("Abhishek");
***
6 months ago
Here is the answer:
***



My Login Form

Login Form










***
6 months ago
Here is the correct answer:
***
let square = function (num)
{
return num*num
};
let result = square(5);
console.log(result);
***
6 months ago
But JavaScript Level 5 doesn't have any lesson 7
6 months ago
Here is the correct answer:
***
let a = 10;
let b = 20;
let c = a + b;

console.log(c);
document.write("Hello JS!")
***
6 months ago
Ques:  Answer
Are you accessing the content on Mobile? Then please go to the Editor Tab and then click on Next.
6 months ago
Ques:  Level1/1
Here is the answer:
***



<br /> My Webpage Title<br />









***
6 months ago
Thanks for pointing this out. The content has been corrected.
6 months ago
This should work:
***



My Webpage Title



Hello
Studytonight
Bro



***
6 months ago
Here is the correct answer:
***



My Webpage Title


Do you know?


Honey bees communicate by dancing.




Turtles can breathe through their !




***
7 months ago
Here is the correct answer:
***



Adding breakpoint according to device



Resize the browser window to see how the background color of this paragraph change on different screen sizes.




***
7 months ago
Here is the code:
***



My Login Form

Login Form










***
7 months ago