ch
Feedback
Programming Quiz Channel

Programming Quiz Channel

前往频道在 Telegram

Programming quizzes and knowledge tests Short quizzes on programming, logic and computer science. Test and improve your coding knowledge. Join 👉 https://rebrand.ly/bigdatachannels DMCA: @disclosure_bds Contact: @mldatascientist

显示更多
780
订阅者
-124 小时
+27
+1830
帖子存档
Which CSS property controls the text size?
Anonymous voting

What will this code output? Spot the bug. Difficulty: Hard😤
for (var i = 0; i < 5; i++) {
    setTimeout(function() {
        console.log(i);
    }, 1000);
}

Spread Operator in Depth Ecmascript 2015 or ES6 is the sixth major edition of Ecmascript language specification standard. It
+5
Spread Operator in Depth Ecmascript 2015 or ES6 is the sixth major edition of Ecmascript language specification standard. It bought significant changes to Javascript language.

Choose the correct HTML element to define important text
Anonymous voting

Which of the following creates a true copy of the object obj in JavaScript?
Anonymous voting

What will this code output? Spot the bug. Difficulty: Hard😤
for (var i = 0; i < 5; i++) {
    setTimeout(function() {
        console.log(i);
    }, 1000);
}

for (var i = 0; i < 5; i++) { setTimeout(function() { console.log(i); }, 1000); }

#memes
#memes

Which property is used to create space inside an element between its content and its border?
Anonymous voting

Best colors for brands #colors
+4
Best colors for brands #colors

What does the target="_blank" attribute in the tag do?
Anonymous voting

Find the error in the code. Difficulty: Easy😁
function add(a, b) {
  return a + b;
}

const result = add(5);  
console.log(result);

Which method adds a new child node to a parent node?
Anonymous voting

#tips
#tips

Which property controls the stacking order of elements?
Anonymous voting

How can the code be modified to handle both successful and failed promises? 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));

The developer gets angry at the tester for finding yet another bug.🤣

Inline elements in HTML are typically displayed without starting a new line.
Anonymous voting

📝 CSS display: contents How can display: contents improve layout flexibility? This property makes elements "transparent" in
📝 CSS display: contents How can display: contents improve layout flexibility? This property makes elements "transparent" in the DOM, merging their children with the parent container without altering visual display. It helps eliminate unnecessary wrappers and simplifies styling, but be aware of accessibility issues with screen readers.

How can you check if a value is NOT equal to 5 in JavaScript?
Anonymous voting