modif films js
This commit is contained in:
parent
5fdf339a29
commit
adcf848a3d
@ -8,7 +8,7 @@ fetch(API_URL)
|
|||||||
return reponse.json()
|
return reponse.json()
|
||||||
})
|
})
|
||||||
.then(reponseFormat => {
|
.then(reponseFormat => {
|
||||||
for(let index = 0; index <6; index++){
|
for(let index = 0; index < reponseFormat.results.length; index++){
|
||||||
//console.log(reponseFormat.results[index]);
|
//console.log(reponseFormat.results[index]);
|
||||||
const data = reponseFormat.results[index];
|
const data = reponseFormat.results[index];
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
Loading…
Reference in New Issue
Block a user