le push du matin
This commit is contained in:
parent
f78fe241b3
commit
0132c31c85
@ -18,6 +18,7 @@
|
||||
<li><a href="planetes.html">Planètes</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search for names.." class="SearchBar">
|
||||
</header>
|
||||
<h1>Planètes</h1>
|
||||
<section class="container" id="container"> <!-- class Css-->
|
||||
|
@ -45,34 +45,38 @@ async function getPlanets() {
|
||||
<h3>ORBITAL :</h3>
|
||||
<p>${ORBITAL_PERIOD}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="data">
|
||||
<h3>Diameter :</h3>
|
||||
<p>${DIAMETER}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="data">
|
||||
<h3>Climate :</h3>
|
||||
<p>${CLIMATE}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="data" >
|
||||
<h3>Gravity : </h3>
|
||||
<p>${GRAVITY}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="data" >
|
||||
<h3>Terrain :</h3>
|
||||
<p>${TERRAIN}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="data">
|
||||
<h3>Surface water : </h3>
|
||||
<p>${SURFACE_WATER}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="data">
|
||||
<h3>Population :</h3
|
||||
<p>${POPULATION}</p>
|
||||
</div>
|
||||
<div class="data">
|
||||
<button class="films" value="${PLANET.results[i].films}">Films</button>
|
||||
<div id="detailsFilms${i}"></div>
|
||||
</div>
|
||||
<div class="data">
|
||||
<button class="residents" value="${PLANET.results[i].residents}">Résidents</button>
|
||||
<div id="detailsResidents${i}"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user