Endnotes not compiling

Hi, I am trying to compile a document with simple endnotes, but for some reason the text I highlighted using the footnote tool doesn’t get inserted into the end notes document when I compile.

The endnotes page has the marker <$–ENDNOTES–> but nothing is happening.

Also, when I compile it, I would like to remove the endnotes from the text of the mainbody document and move everything to the end notes and just have everything numbered with a link, but I am not sure that is possible. The documentation is confusing.