import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-pokemons',
  templateUrl: './pokemons.component.html',
  styleUrls: ['./pokemons.component.css']
})
export class PokemonsComponent implements OnInit {

  pokemons = [ 
    { 'id': 1, 'nombre': 'Bulbasaur ', 'img': 
 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png ', 'categoria': 'grano', 'tipo': ['planta','veneno'], 'talla': 0.70, 'peso': 6.9 }, 
    { 'id': 2, 'nombre': 'Ivysaru ', 'img': 
 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/2.png', 'categoria': 'grano', 'tipo': ['planta', 'veneno'], 'talla': 1, 'peso': 13 }, 
    { 'id': 3, 'nombre': 'Venusaur ', 'img': 
 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/3.png', 'categoria': 'grano', 'tipo': ['planta', 'veneno'], 'talla': 2, 'peso': 100 }, 
    { 'id': 4, 'nombre': 'Charmander', 'img': 
 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/4.png', 'categoria': 'lagarto', 'tipo': ['fuego'], 'talla': 0.6, 'peso': 8.5 }, 
    { 'id': 5, 'nombre': 'Charmaleon', 'img': 
 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/5.png', 'categoria': 'llama', 'tipo': ['fuego'],'talla': 1.1, 'peso': 19 }, 
    { 'id': 6, 'nombre': 'Charizard', 'img': 
 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/6.png', 'categoria': 'llama', 'tipo': ['fuego', 'vuelo'], 'talla': 1.7, 'peso': 90.5 } 
 ];
 

  constructor() { }

  ngOnInit(): void {
  }

}
