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

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

Ссылка: @Portal_v_IT

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

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

РКН: clck.ru/3L2oTf
Download Telegram
.container {
columns: 3;
column-gap: 20px;
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
const arr = [1, 2, 3];
const result = arr.reduceRight((acc, val) => acc + val, 0);
console.log(result);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
const promise = Promise.reject('Error');
promise.catch(err => console.log('Caught'));
promise.catch(err => console.log('Again'));


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
.box {
width: 100px;
height: 100px;
background: linear-gradient(45deg, #000 25%, transparent 25%);
background-size: 20px 20px;
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
const num = 123.456;
console.log(num.toFixed(2), num.toPrecision(4));


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
const arr = ['a', 'b', 'c'];
const iterator = arr.values();
console.log(iterator.next().value, iterator.next().value);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
.button {
border: 2px solid blue;
outline: 2px solid red;
outline-offset: 5px;
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
const btn = document.createElement('button');
btn.textContent = 'Click';
btn.onclick = () => console.log('A');
btn.addEventListener('click', () => console.log('B'));


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
const arr = [1, 2, 3, 4, 5];
const first = arr.shift();
const last = arr.pop();
console.log(first + last, arr.length);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
.element {
width: 300px;
overflow-x: auto;
white-space: nowrap;
}


WebDEV #test #Frontend

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