fa
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

نمایش بیشتر
804
مشترکین
+124 ساعت
+37 روز
+1530 روز
آرشیو پست ها
#html
#html

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

The task is to write a palindrome function. Difficulty: Hard😤
isPalindrome("radar"); // true
isPalindrome("hello"); // false

What does the :nth-child() pseudo-class do in CSS?
Anonymous voting

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

What is the correct way to create a hyperlink in HTML?
Anonymous voting

Find the error in the code. Difficulty: Average😐
const data = [1, 2, 3, 4, 5];

function getEvenNumbers(arr) {
  return arr.filter(num => num % 2 = 0);
}

console.log(getEvenNumbers(data));

Which of the following is NOT a valid JavaScript variable name?
Anonymous voting

#cheatsheet
#cheatsheet

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

Find the error in the code. Difficulty: Easy😁
function greet(name) {
  console.log("Hello, " + name);
}

greet();

What does HTML
tag represent?
Anonymous voting

#JavaScript #methods #cheatsheet
#JavaScript #methods #cheatsheet

Which property is used to change the text color in CSS?
Anonymous voting

Find the error in the code. The answer should be: 0, 1 Difficulty: Average😐
const createCounter = () => {
  let count = 0;
  return () => {
    console.log(count++);
  };
};

const counter1 = createCounter();
const counter2 = createCounter();

counter1(); 
counter2();

What is the main difference between the "==" and "===" operators in JavaScript?
Anonymous voting

#html #status
#html #status

How can you select all the elements with class "example" in CSS?
Anonymous voting

TEST Write a calculator in JavaScript with minimal code Difficulty: Easy🙂
function calculate(expression) {
    try {
        let result = eval(expression);
        if (isNaN(result)) {
            throw new Error("Invalid expression");
        }
        return result;
    } catch (e) {
        return "Error: " + e.message;
    }
}

let userInput = prompt("Enter an arithmetic expression (for example, 2 + 2):");

if (userInput !== null) {
    console.log("Result:", calculate(userInput));
}

Which HTML tag is used to create a horizontal line?
Anonymous voting