const renderPokemons = (parent,apiResponse) => {
apiResponse.forEach((data) => {
const parentTemplate = document.createElement('div');
parentTemplate.innerHTML=`<div class="card" style="width: 18rem;">
<img class="img card-img-top" src="${data.image}" alt="Pokemon image">
<div class="card-body">
<h5 class="name card-title">Name: ${data.name}</h5>
<p class="weight card-text">Weight: ${data.weight} </p>
<p class="height card-text">Height: ${data.height}</p>
</div>
</div>`
parent.appendChild(parentTemplate)
});
}