Open emilyb7 opened 7 years ago
It's taken me a while to figure out what you're trying to do, but I'm guessing that the problem is this...
You make a lot of requests (because there needs to be a request for each character running in parallel). So you don't know when the requests are going to finish?
Have you tried to work out how you could do this without the setTimeout? I believe you covered this in the parallel morning challenge on Tuesday, so maybe you already know and didn't get round to implementing it in time...
Fixed in 311866c (I had already done this locally, but hadn't pushed the branch). This gets called every time a list item is added. I haven't implemented a parallel function yet, this would be a good way to run things once it's finished the requests.
is there a reason why we wait 2 seconds for the page to scroll? it makes everything very slow.
If it's because we're waiting for an API response, have you tried other ways of doing this?