Need Help Javascript Library Project

I need Help on the add Button i am stuck on library project
https://devlopa.github.io/library/

Please post the relevant code, what you are trying to accomplish (if a challenge, a link to it and an explanation), and it would be easiest to help you if you can post a live, editable version on an editor such as codepen.io.

codepen link https://codepen.io/sakhan24/pen/PoZjMKM
i want to add books using form add button it is added to the array but when i try to render all the books to the screen it doesn’t render all of them and when i change the location of render function than it shows duplicates