Tell us what’s happening:
The clock seems to be working correctly but I’m still not passing test cases related to timer.
Please show me the way. Your code so far
Challenge: Front End Development Libraries Projects - Build a 25 + 5 Clock
thanks for pointing the bug out.
I have found a way around the bug, but the test cases are still not passing.
could you please check again for any mistakes?
i think you ran tests for the “random quote generator” project. You have to select “25+5 clock” from the drop-down menu and then run the suitable tests. There are 29 TCs for “25+5 clock”.
Are you currently working on the code? It looks different now and line 182 has a comment with only 1 / so it’s broken, but the editor is pointing that out.
I mainly looked into the reset timer, the first test that fails, but it looks ok. Might be some kind of timing issue, how/when does the test get the timer label? If I print formTime to console it shows “25:00” when I click reset, but the test disagrees. It makes me wonder where the test looks for that label and is there a small delay when you click reset?
En las instrucciones solo dice que debes tener un elemento con id="break-length" y otro con id="session-length", sin embargo, para que me funcionara correctamente ambos elementos utilice la etiqueta <p></p>, revise tu codigo y tambien funciona si lo haces con <p></p>.
Tambien note que tu elemento con id="timer-label" no cambia de valor cuando el temporizador llega a cero, este cambio se solicita en la prueba 22, te sugiero que corrijas ese detalle a ver en cuantas pruebasmas pasas.