Signup/Sign In

Answers

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

let mobiles = ["Apple", "Samsung", "One Plus", "Moto", "Huwaei"];

// using forEach function
mobiles.forEach(printMobs);


// define the callback function
function printMobs(item,index) {
console.log(`Rank ${index}: ${item} Mobiles`);
}
2 years ago
function 1
{
2nd line --> (processResponse,3000);
}

function 2
{
console.log("response received...");
console.log("Processing response...");
}


let call=function 1("link");
console.log(call);
2 years ago
try this

// add style to it
btn.style.padding="10px";
btn.style.backgroundColor="#4535AA";
btn.style.color="White";
btn.style.cursor="pointer";
2 years ago
let mobile = {
brand: "Apple",
model : "iPhone 12",
colors: "black"
};

// write code here
var colors=["Blue","Green","Black","White","Purple"];
mobile.colors=colors;

console.log(mobile);
2 years ago
let mobile = {
brand: "Apple",
model : "iPhone 12",
colors: "black"
};

// write code here
var colors=["Blue","Green","Black","White","Purple"];
mobile.colors=colors;

console.log(mobile);
2 years ago
let mobile = {
brand: "Apple",
model : "iPhone 12",
colors: "black"
};

// write code here
var colors=["Blue","Green","Black","White","Purple"];
mobile.colors=colors;

console.log(mobile);
2 years ago
let mobile = {
brand: "Apple",
model : "iPhone 12",
colors: "black"
};

// write code here
var colors=["Blue","Green","Black","White","Purple"];
mobile.colors=colors;

console.log(mobile);
2 years ago
//try this
let x = 10;
let y = 50;
let z = "10";

let xy= x>=y;
console.log(xy);
console.log(x===z);
2 years ago
//Accepted
let i = 0;
do
{
console.log("--" + i + "--");
i += 5;
}while(i<=50);
2 years ago
let str1 = `Studytonight`;
let str2 = String(str1);
console.log(str1);
console.log(str2);
2 years ago
try this



Calculator








2 years ago
if not accepted then remove thors line and write again . It's work for me !! that's strange
.grid {
display: grid;
background-color: #d6d1f5;
padding: 20px;
grid-template-areas:
"thor thor . ."
". asgard asgard ."
". . loki loki";

}
2 years ago