Generation

generate functionSat, 12 Nov 2022

fetch pokemon api

const fetchPokemon = (pokemon) => fetch(`https://pokeapi.co/api/v2/pokemon/${pokemon}`).then(res => res.json()) fetchPokemon('pikachu')

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant