Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
fetch('header.html') .then(response => response.text()) .then(data => document.querySelector('#includedContent').innerHTML = data) .catch(console.error)