it's the end for Sana

This commit is contained in:
Sana EL HIRI 2021-10-20 14:00:42 +02:00
parent 96a83927db
commit 1411411d48
4 changed files with 48 additions and 12 deletions

View file

@ -126,7 +126,7 @@ async function getFilms(liste,div) {
const film = await films.json();
//console.log(film);
document.getElementById(div).innerHTML += `<h2>${film.title}</h2>`;
document.getElementById(div).innerHTML += `<p>${film.title}</p>`;
}

View file

@ -35,7 +35,7 @@ async function getPlanets() {
<p>${ROTATION_PERIOD}</p>
</div>
<div class="data">
<h3>ORBITAL :</h3>
<h3>Orbital :</h3>
<p>${ORBITAL_PERIOD}</p>
</div>
<div class="data">