modif films js

This commit is contained in:
Vincent Ramiere 2021-10-19 12:23:37 +02:00
parent 5fdf339a29
commit adcf848a3d

View File

@ -8,7 +8,7 @@ fetch(API_URL)
return reponse.json()
})
.then(reponseFormat => {
for(let index = 0; index <6; index++){
for(let index = 0; index < reponseFormat.results.length; index++){
//console.log(reponseFormat.results[index]);
const data = reponseFormat.results[index];
console.log(data);