Coder Social home page Coder Social logo

learn-co-students / js-pokemon-search-practice-assignment-dumbo-career-010719 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learn-co-curriculum/js-pokemon-search-practice-assignment

0.0 26.0 22.0 292 KB

HTML 41.67% JavaScript 5.40% CSS 52.94%

js-pokemon-search-practice-assignment-dumbo-career-010719's Introduction

JS Pokemon Search Assignment

pikachu

Objectives

  • DOM Manipulation
  • Events and Event Handlers
  • Callbacks
  • Fetch

Hello, your assignment today is to re-create the functionality of our Pokemon search engine.

p.s. Don't forget to include the ability to toggle the card image and reset the card image upon submission of a new search.


Instructions

  • We're building out a search feature in our application (no backend persistence).

  • A user should be able to search for a Pokemon and flip that Pokemon card to see its alternate sprite.

  • The file db.json is your server. Start your server by doing the following in your terminal:

    • $ npm install -g json-server
    • $ json-server --watch db.json

Deliverables:

  1. Implement a filter functionality for your Pokemon list.
  2. Implement a flip functionality on each Pokemon.
  3. Your search should include pokemon whose names are not exact matches
  4. Add a way to show users details for a particular pokemon: moves, abilities, etc.

Sample Markup:

Each Pokemon card might look something like this in HTML:

<div class="pokemon-card">
  <div class="pokemon-frame">
    <h1 class="center-text">charizard</h1>
    <div class="pokemon-image">
      <img data-id="7" data-action="flip" class="toggle-sprite" src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/6.png">
    </div>
  </div>
</div>

Take a look at /style.css if you're curious about how this app is styled. Applying the classes appropriately from the snippet above should style your Pokemon cards.


js-pokemon-search-practice-assignment-dumbo-career-010719's People

Contributors

timothylevi avatar realandrewcohn avatar marschlaefer avatar curiositypaths avatar

Watchers

Kevin Ernest Long avatar James Cloos avatar Kevin McAlear avatar  avatar Victoria Thevenot avatar Belinda Black avatar  avatar Joe Cardarelli avatar Sam Birk avatar Sara Tibbetts avatar The Learn Team avatar Sophie DeBenedetto avatar  avatar Jaichitra (JC) Balakrishnan avatar Antoin avatar Alex Griffith avatar  avatar Amanda D'Avria avatar  avatar Nicole Kroese  avatar  avatar Lore Dirick avatar Lisa Jiang avatar Vicki Aubin avatar Maxwell Benton 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.