25 + 5 Clock all tests failed

@ugwen thank you for your reply!

select correct test from drop menu

Probably It was some bug. I had a small peace of JS code above react, after I daleted it, it starts go through 11 tests and stoped at test #12.

also there is some drift in timer the way your doing it i think. you need to use .getTime() if i remember rightly in a timer function. i think i got it from some existing code, probably on codepen. have a look for fcc on there or something if you need.

Regarding .getTime(), I don’t think it should be an issue, because for this two days I saw a lot of other projects and they also don’t use this method to make timer more accurate.(for example: https://codepen.io/sirstevekim/pen/PoQwjBX)

I went through forum and searched for same question as mine. Here also many tests was failed and error message was same as I have:

Script error. (:0)
Error: Script error. (:0)

But he solved this problem by removed all React hooks (useState, useEffect, useRef). In my code I don’t have such hooks.

So still don’t understand where is the problem.

1 Like