document.querySelector('.fon').style.color = 'black';
document.getElementsByClassName('fon')[0].style.color = 'black';