ru
Feedback

Не попадитесь на канал ботавода! Telemetrio находит и помечает такие каналы 👉 Хотите видеть метку — оформите подписку

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

Больше
804
Подписчики
Нет данных24 часа
+37 дней
+1230 дней
Архив постов
Which of the following is the correct way to center a block element horizontally using margins?
Anonymous voting

#css #units #tips
#css #units #tips

What does the "DOM" stand for in JavaScript?
Anonymous voting

JavaScript Task Given an array of numbers. Increase each number in the array by 10 percent. Difficulty: Easy😁
let numbers = [100, 200, 300, 400, 500];

Which character is used to indicate an end tag in HTML?
Anonymous voting

What is the correct HTML for referring to an external style sheet?
Anonymous voting

#css #cursor #tips
#css #cursor #tips

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

let result = addNumbers(5, '10');

console.log('Результат: ' + result);

Which statement is used to execute a function in JavaScript?
Anonymous voting

Find errors in the code. Given an array of numbers. Remove numbers from it that have two or more zeros. Difficulty: Hard😤
let numbers = [102, 304, 500, 1002, 20, 404, 80, 7];

function hasTwoOrMoreZeros(num) {

    return (num.toString().match(/0/g) && []).length > 2; 
}

let filteredNumbers = numbers.filter(num => !hasTwoOrMoreZeros(num));

console.log(filteredNumbers);

How can you access an element with a specific id in HTML using JavaScript?
Anonymous voting

JavaScript Task Check that this string consists of numbers only. Difficulty: Easy😁
string = "1234567890"

Which CSS property is used to remove the underlines from links?
Anonymous voting

Useful CSS Tips Outline If you encounter issues with the positioning or visibility of elements on a page, this rule helps you instantly see all the blocks, their borders, and structure. It’s especially useful when working with complex layouts where elements might overlap or disappear.
* {
    outline: 4px solid green !important;
}
#css #tips #outline

Find errors in the code. Difficulty: Average🤨
class Rectangle {
    constructor(width, height) {
        this.width = width;
        this.height = height;
    }

    getArea() {
        return width * height;
    }
}

const rect = new Rectangle(5, 10);
console.log("Area:", rect.getArea());

Inside which HTML element do we put the JavaScript?
Anonymous voting

What will this code output? And why? Difficulty: Average🤨
const numbers = [1, 2, 3, 4, 5];

const result = numbers.map(num => {
    if (num % 2 === 0) {
        return num * 2;
    } else {
        return num * 3;
    }
}).reduce((acc, curr) => acc + curr);

console.log(result);

What does the CSS property "display: contents;" do?
Anonymous voting

#css #border #cheatsheet
#css #border #cheatsheet

What is the purpose of the "else" statement in JavaScript?
Anonymous voting