Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 523 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 523 Bytes

React assigment - 2 : Counter App

Total points = 5

Purpose of this assignment : Testing students skills on

  • useState() hook
  • Event Handler
  • conditional rendering

Assignment steps:

  • part 1: make sure that increment, decrement and reset functionality works (3 points)

  • part 2: disable buttons(2 points)

    • disable increment button when count value is 5
    • disable decrement button when count value is -5