// Add all of the bookData attributes to the
// new object been created in the Book constructor
const book = {
id:1,
emoji: "📗",
author: "George Orwell",
title:"1984",
format:"Paperback",
price:"$9.99",
}
document.getElementById("books").innerHTML = `
<div class="book">
<div class="emoji">${book.emoji}</div>
<div class="title">${book.title}</div>
<div class="author">${book.author}</div>
<div class="format">${book.format}</div>
<div class="price">${book.price}</div>
<button id="cart-${book.id}">Add to Cart</button>
</div>`;