File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,23 +5,23 @@ export default function App() {
55 < main >
66 < PokemonCard name = "pikachu" />
77 < PokemonCard name = "raichu" />
8+ < PokemonCard name = "pichu" />
9+ < PokemonCard name = "snorlax" />
810 < PokemonCard name = "charmander" />
911 < PokemonCard name = "charmeleon" />
1012 < PokemonCard name = "charizard" />
13+ < PokemonCard name = "jigglypuff" />
1114 < PokemonCard name = "squirtle" />
1215 < PokemonCard name = "wartortle" />
1316 < PokemonCard name = "blastoise" />
17+ < PokemonCard name = "ditto" />
1418 < PokemonCard name = "bulbasaur" />
1519 < PokemonCard name = "ivysaur" />
1620 < PokemonCard name = "venusaur" />
17- < PokemonCard name = "caterpie" />
1821 < PokemonCard name = "weedle" />
1922 < PokemonCard name = "pidgey" />
20- < PokemonCard name = "rattata" />
21- < PokemonCard name = "jigglypuff" />
2223 < PokemonCard name = "meowth" />
2324 < PokemonCard name = "psyduck" />
24- < PokemonCard name = "snorlax" />
2525 < PokemonCard name = "mewtwo" />
2626 </ main >
2727 ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export default function PokemonCard({ name = "pikachu" }) {
4343 < h2 className = "card__title" > { data . name . toUpperCase ( ) } #{ data . id } </ h2 >
4444 < img src = { sprite } alt = { data . name } width = { 200 } height = { 200 } />
4545 < p > < b > Types:</ b > { data . types . map ( t => t . type . name ) . join ( ", " ) } </ p >
46- < p > < b > Height:</ b > { data . height } | < b > Weight:</ b > { data . weight } </ p >
46+ < p > < b > Height:</ b > { data . height * 10 } cm | < b > Weight:</ b > { data . weight * 0.1 } kg </ p >
4747 < ul className = "list" >
4848 { data . stats . map ( s => (
4949 < li className = "list-item" key = { s . stat . name } >
You can’t perform that action at this time.
0 commit comments