CSS stands for:
Anonymous Quiz
80%
Cascading Style Sheet
11%
Custom Style Sheet
5%
Creative Style Sheet
4%
Client Style Sheet
❤1
How to rotate a div in CSS?
Anonymous Quiz
48%
transform: rotate(45deg)
21%
transform: rotate(45%)
21%
transform: rotate("45deg")
9%
transform: rotate(45)
👍1
Which of the following keywords is not used to declare a variable in JavaScript?
Anonymous Quiz
24%
var
12%
let
50%
int
14%
const
What is the correct JavaScript syntax to print output?
Anonymous Quiz
14%
System.out.print("Hello World")
17%
print("Hello World")
64%
console.log("Hello World")
6%
echo "Hello World"
Find the error in the code.
Difficulty: Easy🙂
Difficulty: Easy🙂
let user = {
name: "John"
age: 30,
isAdmin: true
};
console.log("User's name is: " + user.name);Which HTML tag is used to define an unordered list?
Anonymous Quiz
16%
<ol>
10%
<li>
66%
<ul>
9%
<dl>
What will this code output?
Difficulty: Average😐
Difficulty: Average😐
let x = 0.1 + 0.2;
let y = 0.3;
if (x === y) {
console.log("Values are equal");
} else {
console.log("Values are not equal");
}
Can negative values be allowed in padding property?
Anonymous Quiz
43%
Yes
17%
Depends
36%
No
4%
None of the above
What will this code output? Spot the bug.
Difficulty: Hard😤
Difficulty: Hard😤
for (var i = 0; i < 5; i++) {
setTimeout(function() {
console.log(i);
}, 1000);
}What is the purpose of the HTML <head> tag?
Anonymous Quiz
39%
To create a header section for the page
9%
To create a footer for the page
14%
To define the main content of the page
39%
To define the document's metadata
What type of language is JavaScript?
Anonymous Quiz
67%
Object-oriented
14%
Procedural
10%
Markup
10%
Assembly
Find the error in the code.
The answer should be: 15
Difficulty: Average😐
The answer should be: 15
Difficulty: Average😐
function sumArray(arr) {
let sum = 0;
arr.forEach(function(num) {
sum =+ num;
});
return sum;
}
let numbers = [1, 2, 3, 4, 5];
console.log(sumArray(numbers));Which CSS property is used to control the transparency of an element?
Anonymous Quiz
38%
transparent
33%
opacity
18%
visibility
11%
transparency
👍3❤1🔥1
What is the purpose of the "else" statement in JavaScript?
Anonymous Quiz
11%
To define a function
9%
To declare a variable
14%
To create a loop
66%
To execute a block of code unconditionally
How can the code be modified to handle both successful and failed promises?
Difficulty: Impossible😈
Difficulty: Impossible😈
const promises = [
Promise.resolve(1),
Promise.reject(new Error('Error'))
];
Promise.all(promises)
.then(results => console.log(results))
.catch(error => console.error(error));
Which CSS property is used to make text bold?
Anonymous Quiz
53%
font-weight
22%
text-weight
22%
bold
2%
font-style