WebDEV
8.81K subscribers
2.23K photos
11 videos
2.84K links
Сообщество веб-разработчиков.

На канале можно найти: видео-уроки, полезные статьи, новости из мира IT и веб-разработки.

Ссылка: @Portal_v_IT

Сотрудничество: @oleginc, @tatiana_inc

Канал на бирже: telega.in/c/webb_dev

РКН: clck.ru/3L2oTf
Download Telegram
Варианты ответа:
Anonymous Quiz
11%
10
18%
Promise { 20 }
70%
20
:root {
--spacing: 10px;
}
.box {
padding: calc(var(--spacing) * 2);
margin: calc(var(--spacing) / 2);
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Какие значения padding и margin у .box?
Anonymous Quiz
9%
20px и 10px
88%
20px и 5px
2%
10px и 5px
const text = 'apple,banana,cherry';
const arr = text.split(',');
const joined = arr.join(' - ');
console.log(joined);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Что выведется в консоль?
Anonymous Quiz
5%
apple,banana,cherry
93%
apple - banana - cherry
2%
apple banana cherry
const arr = [1, 2, 3, 4, 5];
const result = arr.at(-2);
arr.push(6);
console.log(result);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Варианты ответа:
Anonymous Quiz
9%
5
18%
6
73%
4
.element {
position: absolute;
inset: 20px;
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
const regex = /\d+/g;
const str = 'abc123def456';
console.log(regex.test(str), regex.test(str));


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Что выведется в консоль?
Anonymous Quiz
21%
true false
35%
false false
44%
true true
const user = { name: 'Alice' };
const { name, age = 25, city = 'NY' } = user;
console.log(age, city);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Варианты ответа:
Anonymous Quiz
14%
undefined undefined
14%
null null
71%
25 NY
.list li:first-of-type {
color: red;
}
.list li:last-of-type {
color: blue;
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
const numbers = [5, 10, 15, 20];
const index = numbers.findLastIndex(n => n > 12);
console.log(index, numbers[index]);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Варианты ответа:
Anonymous Quiz
11%
2 15
82%
3 20
7%
1 10
const arr = [1, NaN, 3];
const found1 = arr.includes(NaN);
const found2 = arr.indexOf(NaN);
console.log(found1, found2);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Варианты ответа:
Anonymous Quiz
57%
true 1
26%
false -1
17%
true -1
.card::before {
content: '★';
position: absolute;
top: 10px;
left: 10px;
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼