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