modif films js
This commit is contained in:
parent
5fdf339a29
commit
adcf848a3d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue