maj script
This commit is contained in:
parent
6d1af46781
commit
3220efe121
1 changed files with 6 additions and 6 deletions
12
script.js
12
script.js
|
@ -52,12 +52,12 @@ fetch(API_URL)
|
|||
console.log(PERSONNE);
|
||||
|
||||
MEMBER.innerHTML +=`
|
||||
<div>
|
||||
<p>${PERSONNE.last_name}</p>
|
||||
<p>${PERSONNE.first_name}</p>
|
||||
<p>${PERSONNE.id}</p>
|
||||
<p>${PERSONNE.email}</p>
|
||||
<img src="${PERSONNE.avatar}" alt="">
|
||||
<div class="fiche">
|
||||
<img src="${PERSONNE.avatar}" alt="Photo d'identité">
|
||||
<p class="nom">${PERSONNE.last_name}</p>
|
||||
<p class ="prenom">${PERSONNE.first_name}</p>
|
||||
<p class="identifiant">${PERSONNE.id}</p>
|
||||
<p class="email">${PERSONNE.email}</p>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue