Skip to content

ellyd88/Pokemon_fetch-hackathon-joy-and-elly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fetch Hackathon

Today, we will be using our newfound skills to make apps that request data from a server.

Pokemon API

Plan

  • Have a nice title

  • Greet user

  • Import images from API for each pokemon

    • fetch data from API
    • get pokemon image from data
    • create new image tag
    • add new image tag to images div
    • set src of new image tag to image from data
    • add class
    • add id
  • Get info for each pokemon from previous fetch

  • display info in lists

    • get name
    • create new li tag
    • add new li tag to ul
    • set inner text of new li to pokeName
    • add id
    • add class
  • Repeat for type and weight of each pokemon

  • Add some CSS to style elements on page

How it looks:

pokemon page


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published