well someone helped me but now my function does not work anymore. here is the new link
Your line:
var checkString = document.getElementById("#quoteDisp").textContent;
There is no need for the “#” - you’re already getting by ID.
Just as a basic debugging skill, you really should have noticed this:
pen.js:12 Uncaught TypeError: Cannot read property 'textContent' of null
at random (VM119 pen.js:12)
at HTMLButtonElement.onclick (index.html?editors=1010:147)
in your browser console. The browser console (ctrl-shft-j, or something like that) is the best tool you have.