Coder Social home page Coder Social logo

filtered-photo-gallery's Introduction

Filtered Photo Gallery

Create a photo gallery app that has at least two filters for controlling which images are displayed

Image Data

You can use the supplied images data file or make up your own. Options for filtering this data:

  1. keyword, title and/or description
    • exact match (===), or
    • .contains, or
    • .startsWith
  2. horns
    • equal or greater than (>=)

Process

  1. Use Design-Driven Development to create the makeImages template (again like yesterday)
  2. Use the Component Module pattern to have the images-component.js export a loadImages function used by index.js
  3. Create the Filter Component. It will need to export loadFilter that accepts a callback. Remember the form work will have to happen inside the loadFilter function
  4. Log the filter object in index.js so you know the Filter Component is wired up correctly.
  5. TDD the filterImages function and move to own module
  6. Incorporate the filterImages function into index.js and reload the images each time it changes.
  7. Don't forget to remove the existing images when reloading!

test github connection - moved project into new dir

filtered-photo-gallery's People

Contributors

martypdx avatar unphurlng 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.