Pomodoro Clock with React Hooks

Finished the Pomodoro project. I wrote it with React Hooks. I would like to hear the opinion of everyone who wishes to speak about my project.
Code: https://github.com/injashkin/Pomodoro-Clock
Live app 1: https://codepen.io/injashkin/pen/bGGaeeZ
Live app 2: http://projects.jinv.ru/projects/pomodoro-clock/index.html

Nice Job!. It wasn’t passing all the tests for me. so i added this effect. Happy Coding!


  React.useEffect(()=> {
           if(stateSeconds === 0 && stateMinutes === 0){
         audioBeep.play()
         }
    })
1. When a countdown reaches zero (NOTE: timer MUST reach 00:00), a sound indicating that time is up should play. This should utilize an HTML5 <audio> tag and have a corresponding id="beep".
Timer has reached zero but audio is not playing while it should.: expected true to be false
AssertionError: Timer has reached zero but audio is not playing while it should.: expected true to be false
    at o.<anonymous> (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:15104)
    at o.e (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:425:182)
    at Object.get (<anonymous>)
    at Object.e [as get] (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:92:1380)
    at Function.n.isFalse (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:1349)
    at a.<anonymous> (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:191397)
    at u (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:110520)
    at Generator._invoke (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:110308)
    at Generator.e.<computed> [as next] (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:110942)
    at r (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:1:1055)
1 Like