Hi fellow campers. I 've been working on Pomodoro clock project, and it seems it works fine as far as functionality concerned, but I cannot get 7 tests passed…
Tests that I failed are:
When I click the element with the id of “break-decrement”, the value within id=“break-length” decrements by a value of 1, and I can see the updated value.
When I click the element with the id of “break-increment”, the value within id=“break-length” increments by a value of 1, and I can see the updated value.
When I click the element with the id of “session-decrement”, the value within id=“session-length” decrements by a value of 1, and I can see the updated value.
When I click the element with the id of “session-increment”, the value within id=“session-length” increments by a value of 1, and I can see the updated value.
I should not be able to set a session or break length to <= 0.
I should not be able to set a session or break length to > 60.
Please ignore any tests related to audio I will add it later, but I do not know what is the problem with my Pomodoro clock since it’s working fine in any case…
Here is the link to my project. Thank you!
https://codepen.io/WonjoonYang/pen/eYNwXKE?editors=0011