Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a Library Catalog Your web page should exhibit the following: 3 main components: A list of all books in the catalog A list of
Create a Library Catalog
Your web page should exhibit the following:
main components:
A list of all books in the catalog
A list of requested books
All book information should be read from the provided BookData.json file.
Each book in the book list should be displayed as a card containing the following information:
Image of book
Title
Author
Publishing year
Publishing language
Description
A "request" button to add this book to the requested books list
When the "request" button is clicked, the book should be placed in the requests section of the page.
Each book in the requested books list should be displayed as a card containing the following information:
Image of book
Title
A "cancel" button to remove this book from the requested books list
React state, event handling, and props must be used to implement the behavior of the requested books list as described above.
"catalog":
id:
"title":
"author": "George Orwell",
"description": "A totalitarian government controls everything in an imagined future. When a government worker starts to think for himself, he faces dire consequences.",
"published":
"language": "English",
"img": srcimgjpeg"
id:
"title": "American Primitive",
"author": "Mary Oliver",
"description": "Olivers visionary poems explore wildness and wilderness in humans and in nature.",
"published":
"language": "English",
"img": srcimgamericanprimitive.jpeg"
id:
"title": "The Color Purple",
"author": "Alice Walker",
"description": "Letters between two sisters, one a missionary in Africa, and the other trapped in an abusive marriage in Georgia, shed light on the lived experience of rural African American women.",
"published":
"language": "English",
"img": srcimgthecolorpurple.jpeg"
id:
"title": "The God of Small Things",
"author": "Arundhati Roy",
"description": In s India, the lives of affluent twins Rahel and Estha are irreversibly changed upon the arrival of their English cousin.",
"published":
"language": "English",
"img": srcimgthegodofsmallthings.jpeg"
id:
"title": "Our Migrant Souls: A Meditation on Race and the Meanings and Myths of Latino
"author": Hctor Tobar",
"description": "A new book by the Pulitzer Prize winning writer about the twentyfirstcentury Latino experience and identity. In Our Migrant Souls, the Pulitzer Prizewinning writer Hctor Tobar delivers a definitive and personal exploration of what it means to be Latino in the United States right now.",
"published":
"language": "English",
"img": srcimgourmigrantsouls.jpeg"
id:
"title": "The Hitchhiker's Guide to the Galaxy",
"author": "Douglas Adams",
"description": "Arthur Dent and Ford Prefect set off on an interplanetary odyssey after the Earth is demolished to make way for an intergalactic freeway in this offbeat comedy.",
"published":
"language": "English",
"img": srcimgthehitchhikersguidetothegalaxy.jpeg"
id:
"title": "Into Thin Air: A Personal Account of the Mt Everest Disaster",
"author": "Jon Krakauer",
"description": "A firsthand account of the Mount Everest disaster, in which four expedition teams were trapped by a deadly storm.",
"published":
"language": "English",
"img": srcimgintothinair.jpeg"
id:
"title": "One Hundred Years of Solitude",
"author": "Gabriel Garca Mrquez
"description": "This pinnacle of magical realism chronicles years and seven generations of the Buenda family in the mythical South American town of Macondo.",
"published":
"language": "Spanish",
"img": srcimgonehundredyearsofsolitude.jpeg"
id:
"title": "Parable of the Sower",
"author": "Octavia E Butler",
"description": "Set in a bleak nearfuture California, yearold Lauren suffers from hyperempathyshe feels others' pain as well as her own.",
"published":
"language": "English",
"img": srcimgparableofthesower.jpeg"
id:
"title": "Ceremony",
"author": "Leslie Marmon Silko",
"description": "Set on an Indian reservation just after World War II this story concerns the return home of Tayo, a warweary Laguna Pueblo young man. While other returning soldiers find easy refuge in alcohol and senseless violence, Tayo searches for another kind of comfort and resolution in his heritage, traditions, and the ancient stories of his people.",
"img": srcimgceremonyjp
Please show the HTML CSS & Javascript files & be detailed on each
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started