Coder Social home page Coder Social logo

component-extravaganza's Introduction

Component Extravaganza

Let's build some components to put those newly formed React skills to the test!

Submission

Submit an issue on this repo by 5:00PM with links to your forked repos of each exercise you completed.

Also in the submission, please include your overall comfort and completion as well as any questions or specific areas designated for feedback.

Components

Choose one or more exercises from the list below, and implement the outlined features using React.

Build a Sign Up Form component that:

  • Prompts the user to enter their email, password and password confirmation
  • When the user submits the form:
    • Notify the user of whether or not their submission was valid

Bonus:

  • When the passwords do not match, the inputs display should be changed
  • Add basic validation on a user's email (i.e. every email must contain an @ sign...)

Build a Stopwatch component that:

  • Allows the user to press a button "Start" to start the stopwatch
    • While the stopwatch is started, the incrementing time should be displayed
  • Allows the user to press a button "Pause" to pause the stopwatch at the current time
    • Re-clicking the "Pause" button should resume the stopwatch
  • Allows the user to press a button "Reset" to stop the stopwatch and reset the time to 0

Bonus:

  • When the stopwatch is at 0, the display time should be a different style
  • When the user first visits the page, the only button that should be active is "Start"
    • The other buttons should be unlocked only after the user clicks "start"

Build a Shopping Cart component that:

  • Allows the user to add a new item to the cart
    • Each item has a name, cost and quantity
  • Displays each item in the cart, as well as the calculated total of all items cost
  • Allows the user to update the quantity of each item in the cart
  • Allows the user to remove an item from the cart
  • Allows the user to wrap an item as a gift for an incurred cost
  • Calculates the sales tax and adds it to the subtotal of the items to be purchased

Bonus:

  • Allows the user to enter a unique promo that applies a pre-designated discount off the total of the cart
    • Your cart should be initialized with a list of predetermined promo codes, and only valid inputed codes receive the discount
    • No promo can be used more than once

Tips / Resources

component-extravaganza's People

Contributors

nolds9 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.