Use the garden demo as your model, but work on a library reading list. The starter already has a list and one book; your script will add a second book without editing the HTML list by hand.
Notice the order in the example below: first make the node, then set its text, then connect it to the parent. A new li created in JavaScript does not appear just because you put it in a variable. textContent is the right choice for book titles, including titles containing < or &, because titles are data rather than markup.
// Different example: a cafe menu, not your reading list.
const dessert = document.createElement("li");
dessert.textContent = "Pear tart";
document.querySelector("#desserts").append(dessert);
After your changes, the preview should show The Secret Garden followed by The Hobbit. If nothing appears, check that you appended the node to #books, not to a variable that still holds null.
Recall the garden board: createElement gives you a node, textContent fills it safely, and append places it. This exercise changes the setting and the data, not that three-step sequence.
li with plain textContent of The Hobbit, then append it to #books after The Secret Garden. The new item appears only after insertion.Set textContent before calling append on the list.