lazyjinchuriki / pokedex

A Pokedex website made in HTML5, CSS, Vanilla Javascript
https://lazyjinchuriki.github.io/pokedex/
22 stars 21 forks source link

Add new feature called weak against and strong against below stats in details.html #22

Closed lazyjinchuriki closed 10 months ago

lazyjinchuriki commented 10 months ago

remember to add the icon of types which that particular pokemon is weak or strong against. all the data can be found in the fetch call. The UI should be the same as how it is done to show the typesof pokemon.

lokesh-wagh commented 10 months ago

hey!! I can work on this

can you assign me this issue

lokesh-wagh commented 10 months ago

Also the api just provide's a way to know how the damage change's

like double damage , half damage , no damage

what would be the criteria for a type being strong against a type and weak against a type

lazyjinchuriki commented 10 months ago

Double damage to means strong against and no damage means weak against maybe. There are other factors i think like iv, ev, level etc but we can Ignore that. If you manage to know some other information you can implement it I have no problem with that. Best of Luck

lokesh-wagh commented 10 months ago

should i display only the icon's or the name of the type beside icon

lazyjinchuriki commented 10 months ago

Only the icons exactly like shown in the Types in the overview. You can add a heading saying "Weakness" And "Strong Against".