We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Catch

It's time to catch some pokemon! Catching Pokemon adds them to the user's Pokedex.

Assignment

Pokedex > catch pikachu
Throwing a Pokeball at pikachu...
pikachu escaped!
Pokedex > catch pikachu
Throwing a Pokeball at pikachu...
pikachu was caught!
npm run dev | tee repl.log

Once in the REPL, run the following commands:

  • catch squirtle
  • exit

Run and submit the CLI tests.