Signup/Sign In

Answers

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

try this one
***
var fruits = ["apple", "guava", "mango"];

let counter = 0;
while(counter {
console.log(fruits[counter]);
counter++;

}
***
3 years ago
Try this one
***



JS Event handling






***
3 years ago
please run again
3 years ago
Try this one
***



CSS



Studytonight

In a world where so much is being done for technology and so little for the environment, education is not even a part of most discussions. We at Studytonight believe that by widening the reach of education, by making it freely available, so much can be achieved.




***
3 years ago
try this one in tab 1:
***



JS with HTML





***
try this one in tab 2:
***
document.write("Hello World");
***
3 years ago
try this one
***
let str1=`Studytonight`;
let str2=String(str1);
const ff=String(str1);
// write code here

console.log(str1);
console.log(str2);
***
3 years ago
Try in second tab this code
***
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`);
}***
3 years ago
Try this one
***



Using External JS Library


Hello Studytonight!






***
3 years ago
Try this one
***
let cars=["Lexus", "Jeep", "Audi", "BMW"];
cars[0]=cars[2];
/* Put the code here*/


console.log(cars);
***
3 years ago
Try this one
***



<br /> My Webpage Title<br />












***
3 years ago
Try this one
***
let myvehicle = "car";
let weather = "rainy";

if(weather=="rainy")
{
if(myvehicle == "car")
{
console.log("I go to the office");
}
else if(myvehicle == "bike")
{
console.log("I Work from home");
}

}
else if(weather!="rainy")
{
console.log("I go to the office");
}
***
3 years ago
Try this one level 2 lesson 4 javascript
***
// create variables and log their values

var bestApp='I love studytonight';
console.log(bestApp);

let myNum=1;
console.log(myNum);


console.log(true);
***
try this one level 9 lesson 4
***



My Login Form

Login Form










***
3 years ago