Giter Site home page Giter Site logo

polymer-number-selector's Introduction

Polymer Number Selector

There is no automated graded for this assignment.

Objectives

  1. Create a web component named number-selector. The final product should look like this:

    number-selector

  2. The objective is simple: clicking the add button will increment the number and clicking minus button will decrement the number. If a maximum or minimum is set then the number cannot be incremented or decremented beyond those specified points.

  3. An initial value can be set on the components value attribute. Defaults to 0.

  4. A maximum value can be set on the maximum attribute. Defaults to NaN.

  5. A minimum value can be set on the minimum attribute. Defaults to NaN.

Resources

Instructions

  1. Make sure that you have NodeJS, bower, and the polymer-cli installed on your computer.

  2. Create a Github project for the assignment.

  3. Clone the remote repository to your local computer.

  4. Use bower init to initialize your bower dependencies.

  5. Add the polymer paper-icon-button dependencies: bower install --save PolymerElements/paper-icon-button PolymerElements/iron-icons

  6. Add the index.html and number-selector.html files to your project.

  7. Edit the number-selector.html file until you fulfill all of the objectives.

    1. Add paper-icon-buttons with + and - to increment or decement the value when clicked.
  8. Use the polymer-cli or http-server to run your server locally while you develop.

polymer-number-selector's People

Contributors

bmoss6 avatar

Stargazers

 avatar

Watchers

James Cloos 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.