pre
вывести.fetch('https://jsonplaceholder.typicode.com/todos')
.then(response => response.json())
.then(data => {
const element = document.querySelector('pre');
element.textContent = JSON.stringify(data, null, '\t');
});