Quotes Generator in JS

Please what am i doing wrong in this:

Look at your console (Ctrl + Shft + I in Chrome) to see the errors you have. Fix them one by one until no errors show there. Once you have fixed those and you are still stuck, ask another question.

It doesnt show me any errors. Please can you look at javascript code?

Everything appears to be working now. Is there something specific which is not working as you thought it would?

Yes everything is working now.
Thank you.