are what to display on your Pokémon's show page: The pokemon's name The image of the pokemon An unordered list of the Pokemon's types (eg. water, poison, etc). The pokemon's stats for HP, ATTACK, and DEFENSE. Routes Your app should use RESTful routes: Index GET /pokemon Show GET /pokemon/:id New
Here are what to display on your Pokémon's show page:
The pokemon's name
The image of the pokemon
An unordered list of the Pokemon's types (eg. water, poison, etc).
The pokemon's stats for HP, ATTACK, and DEFENSE.
Routes
Your app should use RESTful routes:
Index
GET /pokemon
Show
GET /pokemon/:id
New
GET /pokemon/new
Edit
GET /pokemon/:id/edit
Create
POST /pokemon
Update
PUT /pokemon/:id
Destroy
DELETE /pokemon/:id
This is the module.js file
module.exports = [
{
id: "001",
name: "Bulbasaur",
img: "http://img.pokemondb.net/artwork/bulbasaur.jpg",
type: [
"Grass",
"Poison"
],
stats: {
hp: "45",
attack: "49",
defense: "49",
spattack: "65",
spdefense: "65",
speed: "45"
},
moves: {
level: [{
learnedat: "",
name: "tackle",
gen: "V"
}, {
learnedat: "3",
name: "growl",
gen: "V"
}, {
learnedat: "7",
name: "leech seed",
gen: "V"
}, {
learnedat: "9",
name: "vine whip",
gen: "V"
}, {
learnedat: "13",
name: "poison powder",
gen: "V"
}, {
learnedat: "13",
name: "sleep powder",
gen: "V"
}, {
learnedat: "15",
name: "take down",
gen: "V"
}, {
learnedat: "19",
name: "razor leaf",
gen: "V"
}, {
learnedat: "21",
name: "sweet scent",
gen: "V"
}, {
learnedat: "25",
name: "growth",
gen: "V"
}, {
learnedat: "27",
name: "double-edge",
gen: "V"
}, {
learnedat: "31",
name: "worry seed",
gen: "V"
}, {
learnedat: "33",
name: "synthesis",
gen: "V"
}, {
learnedat: "37",
name: "seed bomb",
gen: "V"
}],
tmhm: [{
learnedat: "tm06",
name: "toxic",
gen: "V"
}, {
learnedat: "tm09",
name: "venoshock",
gen: "V"
}, {
learnedat: "tm10",
name: "hidden power",
gen: "V"
}, {
learnedat: "tm11",
name: "sunny day",
gen: "V"
}, {
learnedat: "tm16",
name: "light screen",
gen: "V"
}, {
learnedat: "tm17",
name: "protect",
gen: "V"
}, {
learnedat: "tm20",
name: "safeguard",
gen: "V"
}, {
learnedat: "tm21",
name: "frustration",
gen: "V"
}, {
learnedat: "tm22",
name: "solarbeam",
gen: "V"
}, {
learnedat: "tm27",
name: "return",
gen: "V"
}, {
learnedat: "tm32",
name: "double team",
gen: "V"
}, {
learnedat: "tm36",
name: "sludge bomb",
gen: "V"
}, {
learnedat: "tm42",
name: "facade",
gen: "V"
}, {
learnedat: "tm44",
name: "rest",
gen: "V"
}, {
learnedat: "tm45",
name: "attract",
gen: "V"
}, {
learnedat: "tm48",
name: "round",
gen: "V"
}, {
learnedat: "tm49",
name: "echoed voice",
gen: "V"
}, {
learnedat: "tm53",
name: "energy ball",
gen: "V"
}, {
learnedat: "tm70",
name: "flash",
gen: "V"
}, {
learnedat: "tm75",
name: "swords dance",
gen: "V"
}, {
learnedat: "tm86",
name: "grass knot",
gen: "V"
}, {
learnedat: "tm87",
name: "swagger",
gen: "V"
}, {
learnedat: "tm90",
name: "substitute",
gen: "V"
}, {
learnedat: "tm94",
name: "rock smash",
gen: "V"
}, {
learnedat: "hm01",
name: "cut",
gen: "V"
}, {
learnedat: "hm04",
name: "strength",
gen: "V"
}],
egg: [{
name: "skull bash",
gen: "V"
}, {
name: "charm",
gen: "V"
}, {
name: "petal dance",
gen: "V"
}, {
name: "magical leaf",
gen: "V"
}, {
name: "grasswhistle",
gen: "V"
}, {
name: "curse",
gen: "V"
}, {
name: "ingrain",
gen: "V"
}, {
name: "nature power",
gen: "V"
}, {
name: "amnesia",
gen: "V"
}, {
name: "leaf storm",
gen: "V"
}, {
name: "power whip",
gen: "V"
}, {
name: "sludge",
gen: "V"
}, {
name: "endure",
gen: "V"
}, {
name: "giga drain",
gen: "V"
}],
tutor: [{
name: "grass pledge",
gen: "V"
}],
gen34: [{
name: "bullet seed",
method: "Gen IV TM09"
}, {
name: "secret power",
method: "Gen IV TM43"
}, {
name: "captivate",
method: "Gen IV TM78"
}, {
name: "sleep talk",
method: "Gen IV TM82"
},
}]
I want to look like the picture a provide
It is defined as is a sequence or set of instructions in a programming language for a computer to execute. Computer
programs are one component of software which also includes documentation and other intangible components.
Step by step
Solved in 2 steps