Inline elements in HTML are typically displayed without starting a new line.
Anonymous Quiz
67%
True
33%
False
This media is not supported in your browser
VIEW IN TELEGRAM
The developer gets angry at the tester for finding yet another bug.🤣
🤣5😁1
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));
👍1🤯1
Which property controls the stacking order of elements?
Anonymous Quiz
6%
visibility
76%
z-index
6%
opacity
13%
display
Which method adds a new child node to a parent node?
Anonymous Quiz
28%
addChild()
18%
insertNode()
6%
createChild()
48%
appendChild()
Find the error in the code.
Difficulty: Easy😁
Difficulty: Easy😁
function add(a, b) {
return a + b;
}
const result = add(5);
console.log(result);What does the target="_blank" attribute in the <a> tag do?
Anonymous Quiz
78%
Opens the link in a new tab
17%
Opens the link in the same tab
2%
Refreshes the page
3%
Links to an email
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