GithubHelp home page GithubHelp logo

counter-app-boilerplate's Introduction

Task

  • Create a Simple Counter using the given boilerplate.

Getting Started

  1. Fork this repository.
  2. Clone the forked app from your github account.
  3. Copy this repository into your repository of masai-course organization, create a folder named rm101_assign1 in the root of the repo and then copy the repo code in that folder, complete your assignmend and push it to a branch named rm101_assign1.
  4. navigate inside the clone repository folder and run following command.
    • npm install - To install the dependencies
    • npm start - To Start running the application.
  5. Once you're done with your assignment, submit the link to root of the repository on LMS.

Note - Make sure you use only the given components and dont create new files and folders as chaging component name, structures might result in giving you zero marks

Features to build

  1. The Application Should have a value indicating the current count, initially set to 0(Zero).

  2. The Application should have two buttons

    • one button to increment the value by 1, whenvever clicked.
    • one to decrement the value by 1, whenvever clicked.
      • this value should never go below zero.
      • disable the button if counter value is zero.

General Instructions (IMPORTANT)

  1. Do not use Global CSS, instead use <componentName>.module.css convention for Css in that file.
  2. Do Not Remove data-testid="xxxx" or data-cy="xxxx" from anywhere, this are used by testing tools to test your code, removal of this will lead to low score.
  3. Make sure you use only the given components and dont create new files and folders as chaging component name, structures might result in giving you zero marks
  4. Make sure you use only the given data and dont create new data, as chaging data might result in giving you zero marks

counter-app-boilerplate's People

Contributors

lohit97 avatar riteshf 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.