Home > Mobile >  i am trying to loop through and array containing aobject
i am trying to loop through and array containing aobject

Time:11-21

I am trying to create a loop to display every element from an api using fetch however the api has this structure :

{
  "pokemons": [
    {
      "id": 1,
      "name": "germignon",
      "level": 80,
      "image": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png",
      "abilities": [
        {
          "name": "vampigrain",
          "icon": "           
  • Related