У нас была проблема, мы решили ее с помощью регулярки, теперь у нас 2 проблемы
let str = 'При1вет';
let strNums = 0;
for (i = 0; i < str.length; i++) {
if (!isNaN(Number(str[i])))
strNums++;
};
strNums !== 0 ? console.log('Цифрa') : console.log('Цифр нет') overflow: hidden; с фиксированным heightdocument.getElementById('strlochka').onclick = function () {
const green = document.getElementById('green');
green.style.overflow = 'auto';
green.style.height = 'auto';
}