⠀⠀
У меня тут проблема нарисовалась, я во фронте не очень.
function fade_in(target) {В логе это:
if (!target.style.opacity)
target.style.opacity = 0;
let effect = setInterval(() => {
if (target.style.opacity < 1)
target.style.opacity += 0.01;
else
clearInterval(effect);
}, 10);
}
Error in parsing value for ‘opacity’. Declaration dropped.