Git Product home page Git Product logo

pokemon's Introduction

pokemons list

The API

This site is using pokemon API.
It's available here: https://pokeapi.co/.
You can also see my API design flipchart here

The Site

You like Pokemons, you'll find something for yourself here:
https://dom-void.github.io/pokemon/.

The Goals (or tasks)

A few goals were given to me:

  1. Create a table based on a CSS framework or your own styles. [done]
  2. List Pokemons available in the game: [done]
    a. Table should contain at least 10 Pokemons, [done]
    b. Columns should include Pokemon’s image, name, HP, [done]
    c. Table should have some sort of pagination. [done]
  3. Images should rotate on mouse hover. [done]
  4. Create a separate page with Pokemon’s details containing:
    a. Pokemon’s speed, attack, defence stats,
    b. Reference to it’s evolution forms.
  5. Add at least one unit/integration test.

What I have done untill now

  • I used AJAX to request data from JSON API server.
  • Code is written in ECMAScript5 (for a good start).
  • At first it takes number of all Pokemons available in API (in case it's gonna change one day).
  • Next API request creates array with all Pokemons' names and its urls.
  • After that the table is fullfilled for a first time, buttons are activated and page status is showen. Now you can use the page (change the pages in fact).
  • Images rolls after mouse over.
  • Next and prev buttons work in a carousel (ie. previous to first is last page).
  • If there's less elements on the last page, the table is shorter.
  • I used jQuery in the code.
  • I used w3.css to style some elements.

What I want to do more

  • Modal page linked for every Pokemon on the list, contains: speed, attack and defence stats.
  • The same modal page will contain reference to Pokemon's evolotion forms (not sure what is that in fact).
  • Make input and submit button allowing user to go to particular page.
  • Make search through pokemons' names field, to find the page containing particular Pokemon.
  • Accumulate more knowledge about unit and integration tests.
  • I won't sleep 'till it works in React.

pokemon's People

Contributors

dom-void avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.