dmopsick / pkmnsearch

A small react project to keep my skills sharp. Turns a google search for a pokedex page on serebii into a form.
0 stars 0 forks source link

[Core Functionality] Create link generating functionality #2

Open dmopsick opened 4 years ago

dmopsick commented 4 years ago

The whole functionality of this project is to take in two parameters and dynmically create a clickable link to a Serebii page based on entered name of desired Pokemon and generation of games

dmopsick commented 4 years ago

It is currently in working order, but #3 contains the information for the improvement of the link building logic assignment. Also an unforseen bug is in the serebii naming convention.

The Gen 8 Pokedex on Serebii takes in the lowercase Pokemon name or /<nationalDexNum>.shtml to reach the Pokedex page. Gen 7 and before only take the latter. My logic only contains link building based on the Pokemon name.