bouton page 2 qui fonctionne cette fois merci jeremy
This commit is contained in:
parent
c7bfce2711
commit
40d7101588
2 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,6 @@
|
|||
<div id="personne"></div>
|
||||
</section>
|
||||
|
||||
<button id = "page2">page suivante </button>
|
||||
<button id = "page2">page suivante</button>
|
||||
</body>
|
||||
</html>
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue