The chatper says that .remove() will not work in this case because
"jQuery looks for all the .items when the DOM is loaded, so by the time your document is ready, it's already decided there are no .items to .remove()"
I understand that in the beginning the DOM does not contain .items because we haven't added them yet with our button. But after we have added them, won't there be a new DOM that does contain .items? If so, then why can't we use .remove()?
Replace this line with your code.