Git Product home page Git Product logo

flexbox-and-templating's Introduction

Flexbox-and-Templating

Author: Lesley Rivera

Resources used:

Feature 1: Pagination

Why are we implementing this feature? As a user, I want to have the ability to view additional images so that my view does not become cluttered. What are we going to implement? Given that a user opens the application in the browser When the user clicks on a button or link to another page Then the other set of images should be dynamically displayed

How are we implementing it? Add navigation for the user to switch between two pages. Each page should render a unique set of images from one of the two provided JSON files. Reset the filters, then repopulate them using only keywords from the images currently being displayed.

Number and name of feature: Pagination Estimate of time needed to complete: 30min

Start time: 1400

Finish time: 1445

Actual time needed to complete: 45min

Feature 2: Templating

Why are we implementing this feature? As a user, I want all of the images to be displayed in a consistent manner, so that it is easy to scan the collection of images. What are we going to implement? Given that a user opens the application in the browser When the images are displayed on the screen Then each image should be rendered according to a template

How are we implementing it?

Refactor the method that renders your images to use Mustache instead of making a copy with jQuery.

Number and name of feature: Templating

Estimate of time needed to complete: 1hr

Start time: 1445

Finish time: 1545

Actual time needed to complete: 1hr

Feature 3: Styling with Flexbox

Why are we implementing this feature? As a user, I want a simple, clean looking UI so that my photo gallery clearly displays the images. What are we going to implement? Given that a user opens the application in the browser When the user navigates to the home page Then the images should be displayed in columns, as screen width allows

How are we implementing it? Refactor your CSS to use Flexbox instead of floats. You are welcome to use a combination of floats and Flexbox, as you see fit.

Number and name of feature: Styling with Flexbox Estimate of time needed to complete: 30min

Start time: 1600

Finish time: 1630

Actual time needed to complete: 30 min

Feature 4: Sort the images

Why are we implementing this feature? As a user, I want to be able to sort the images so that there is an order to their rendering. What are we going to implement? Given that a user is presented with sort options When the user clicks on one option Then the images should be sorted accordingly

How are we implementing it? Add the ability for the user to sort the images by either title or by number of horns. Sort the images by one of the properties on page load. This should also apply to the second page of images.

Number and name of feature: Sort the images Estimate of time needed to complete: 30min

Start time: 1645

Finish time: 1730

Actual time needed to complete: 1hr

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.