Which property is used to create space inside an element between its content and its border?
Anonymous Quiz
19%
margin
12%
border
65%
padding
4%
width
👏3👍2🔥1
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);
}Which of the following creates a true copy of the object obj in JavaScript?
Anonymous Quiz
23%
let newObj = [...obj];
40%
let newObj = Object.assign({}, obj);
19%
let newObj = obj;
19%
let newObj = obj.clone();
Choose the correct HTML element to define important text
Anonymous Quiz
18%
<important>
13%
<b>
13%
<i>
56%
<strong>
Spread Operator in Depth
Ecmanoscript 2015 or ES6 is the sixth major edition of Ecmanoscript language specification standard. It bought significant changes to Javanoscript language.
Ecmanoscript 2015 or ES6 is the sixth major edition of Ecmanoscript language specification standard. It bought significant changes to Javanoscript language.
👍2🔥1
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);
}Which CSS property controls the text size?
Anonymous Quiz
3%
font-style
3%
text-style
82%
font-size
13%
text-size
Which JavaScript method is used to remove the last element from an array?
Anonymous Quiz
24%
shift()
18%
splice()
16%
slice()
42%
pop()
Which HTML5 element represents a self-contained piece of content that could be distributed independently?
Anonymous Quiz
21%
<article>
24%
<section>
21%
<container>
34%
<div>
Find the error in the code.
Difficulty: Easy😁
Difficulty: Easy😁
function add(a, b) {
return a + b;
}
const result = add(5);
console.log(result);