bouton page 2 qui fonctionne cette fois merci jeremy

This commit is contained in:
Blandine Bajard 2021-10-18 11:59:16 +02:00
parent c7bfce2711
commit 40d7101588
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,6 @@
<div id="personne"></div>
</section>
<button id = "page2">page suivante </button>
<button id = "page2">page suivante</button>
</body>
</html>

View File

@ -46,6 +46,7 @@ fetch(API_URL)
})
.then(responsFormat2 => {
console.log(responsFormat2);
MEMBER.innerHTML = " ";
for(let index = 0; index <6; index++){
console.log(responsFormat2.data[index]);
const PERSONNE = responsFormat2.data[index];