Git Product home page Git Product logo

fo-special-react-practice's Introduction

YOUR ASSIGNMENT - TOP SECRET: DO NOT EXPOSE UNDER PENALTY OF EXPLOSION

Greetings Vaul-Tec employee! You have been assigned with creating the S.P.E.C.I.A.L. Customization Form (SCF) for our upcoming Pip-Boy 3000 Mark V. We've created a few base elements for you, but it's up to you to make everything functional.

There is a file (special-data.js) that contains the name of each S.P.E.C.I.A.L. category and a default value. This should populate in the SCF when it is loaded.

Users have a total of 28 S.P.E.C.I.A.L. points to spread out as they please. No stat is allowed to go lower than 1 or higher than 10. The indicator on the right should show how many points they have left to spend. This number should not be allowed to go negative, and a user should not be able to spend more points than they have.

Recommended Build Order

  • Import Data from special-data.js
  • Render each special category to the page using default data
  • Make the amount of remaining points displayed reflect the amount of points available
  • Make the arrows increment and decrement each category
  • Ensure the user is not able to move past the minimum or maximum points
  • Ensure the user is not able to spend more points than available
  • Show an error message to the user if they try and break the outlined rules

fo-special-react-practice's People

Contributors

victoria-huang 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.