GithubHelp home page GithubHelp logo

snehalasodekar / ajax_pokedex Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 701 KB

Send asynchronus request to Pokedex api and fetch data of a particular pokemon and display it.

Home Page: https://snehalchetan.github.io/ajax_pokedex/

HTML 28.50% JavaScript 70.51% CSS 0.99%
api bootstrap javascript pokedex-api

ajax_pokedex's Introduction

ajax_pokedex

A javascript Ajax project. https://snehalasodekar.github.io/ajax_pokedex/

Learning Objectives

  • A typical AJAX flow: send asynchronous requests to a remote server and process the results;
  • DOM manipulation: changing the DOM based on results of AJAX-requests.

Exercise

Make a Pokédex using Pokeapi.

Goals

  • Send an ajax request to remote server.
  • In response must receive a pokemon data. (using name and Id)
  • Search a pokémon by name and by ID
  • Display the response in DOM with below information:
    • The ID-number
    • An image (sprite)
    • At least 4 "moves"
    • The previous evolution
    • Using CSS make webpage look like pokedex
      • onclick of submit display pokemon details
      • on pokemon page - display all information of pokemon (name, short description,version,height, category, weight, abilities, gender, Type, weaknesses)) as in below image. pokedex pokemon page

Extended Goals

* Pokemon page
    - On click of versions chnage the short description
    - Add Pokemon evolution section as below image.

pokemon evolution - Add Explore more pokemon tab.

Extra Extended Challenge Implementation Goal

  • Couple of pokemon that don't play with the normal rules
  • Add cases for them as,
    • Ditto only has 1 move.
    • Eevee has 6 evolutions. #Need to fix [x] display message for the pokemons who don't have evolutions [evolves_from_species] [x] display data of pokemon which has only one evolution [x] clean code [ ] Make code working for darmanitan Pokemon

ajax_pokedex's People

Contributors

snehalasodekar avatar

Stargazers

 avatar

Watchers

 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.