Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pokemon CRUD homework is done #4

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
51 changes: 51 additions & 0 deletions assets/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
h1 {
font-family: 'Sniglet', cursive;
color: lightblue;
padding-left: 10px;
}

body{
background-color:#bae1ff;
}

div{
position: absolute;
max-width: relative;
max-height: relative;
margin: auto;
font-family: 'Sniglet', cursive;
width: 400px;
height: 500px;
overflow:auto;
/*word-wrap:break-word*/

background-color:#ffdfba;
border-radius: 10px;
box-shadow: 0px 0px 150px 15px #99828F;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.pokemon{
font-family: 'Sniglet', cursive;
list-style-type: none;
text-decoration: none;
}

img{
margin-left: 23px;
max-width: relative;
max-height: relative;
border-radius: 10px;

}
a{
font-family: 'Sniglet', cursive;
text-decoration: none;
color:black;
}
button{
margin-left: 50%;

}
32 changes: 32 additions & 0 deletions models/pokemon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
const pokemon = [
{
name: "Bulbasaur",
img: "http://img.pokemondb.net/artwork/bulbasaur.jpg"
},
{
name: "Ivysaur",
img: "http://img.pokemondb.net/artwork/ivysaur.jpg"
},
{
name: "Venusaur",
img: "http://img.pokemondb.net/artwork/venusaur.jpg"
},
{
name: "Charmander",
img: "http://img.pokemondb.net/artwork/charmander.jpg"
},
{
name: "Charizard",
img: "http://img.pokemondb.net/artwork/charizard.jpg"
},
{
name: "Squirtle",
img: "http://img.pokemondb.net/artwork/squirtle.jpg"
},
{
name: "Wartortle",
img: "http://img.pokemondb.net/artwork/wartortle.jpg"
}
];

module.exports = pokemon;
Loading