//Листать проект следующий
btnNextProject.addEventListener('click', function() {
let strSrc = projectImg.getAttribute('src').slice(24);
let currentNumber = parseInt(strSrc);
currentNumber++;
if (currentNumber >= 15) {
currentNumber = 1
}
projectImg.setAttribute('src', '#');
function nextSlide(currentNumber) {
projectImg.setAttribute('src', 'img/poject-full/project-' + currentNumber + '-full.jpg');
}
setTimeout(nextSlide(currentNumber), 5000);
document.documentElement.scrollTo(0, 0);
})