this is my javascript code , I am trying to create a dynamic list in HTML with data I recieve from the server , The data is of type \"json\"
My Javascript snippet
Any chance that you're accidentally calling addBooks() somewhere in your code without any data?
addBooks()
data