fix class data
This commit is contained in:
parent
ad34def515
commit
96a83927db
@ -54,10 +54,11 @@ class People {
|
||||
<h3>Gender :</h3>
|
||||
<p>${this.gender}</p>
|
||||
</div>
|
||||
|
||||
<div class="data">
|
||||
<button class="films" value="${this.films}">Voir les films +</button>
|
||||
<div id="detailsFilms${this.index}"></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
`;
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ async function getPlanets() {
|
||||
<h3>Rotation :</h3>
|
||||
<p>${ROTATION_PERIOD}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="data">
|
||||
<h3>ORBITAL :</h3>
|
||||
<p>${ORBITAL_PERIOD}</p>
|
||||
</div>
|
||||
@ -212,7 +212,7 @@ function searchPeople() {
|
||||
<h3>Rotation :</h3>
|
||||
<p>${results[i].rotation}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="data">
|
||||
<h3>ORBITAL :</h3>
|
||||
<p>${results[i].orbital}</p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user