Una web que lea una API de cómics
function getComics() { fetch("https://gateway.marvel.com:443/v1/public/comics?ts=1&apikey=8c5a6a0d659b91aeb313f8c401ce7858&hash=fefd7b9676f8c7a6b3a3da3d13e2d8f7") .then(response => response.json()) .then(data => { const comics = data.data.results; comics.forEach(comic => { document.body.innerHTML += `<li>${comic.title}</li>`; }); }); } getComics();