Random Quote Machine Timeout

Hey all,

I’ve got the quote machine seemingly working as it should, however, I can’t pass one test because it keeps timing out based on FCC’s testing script. I’m at a complete loss on how to fix it. Love some help. Thanks in advance

Here’s the codepen:

Here’s the link to the challenge:

And here’s the error I keep getting:

Your elements aren’t structured the way the “tests” expect. Read carefully test #4

1 Like

Yes I see that now. Thank you. Those little errors kill me sometimes.