Answer to Question #173770 in HTML/JavaScript Web Application for Sree

Question #173770

let's build a Book Search page Refer to the below image.

https://assets.ccbp.in/frontend/content/dynamic-webapps/book_search_output.gif

achieve functionality.

  • When a value is entered in the HTML input element with id searchInput and press on Enter key
  • Get title, imageLink, author (HTTP response with key search_results) by making HTTP request using fetch with URL https://apis.ccbp.in/book-store?title=kalam&maxResults=30
  • Set imageLink in the HTML img element and set author in the HTML paragraph element
  • When a value is entered in the HTML input element with id searchInput and an option is selected in drop down
  • Make HTTP GET request to fetch books based on the title entered, maximum number of results
  • If search results not equal to zero, append the search results to the HTML container element with id searchResults
  • If search results equal to zero, then "No results found"

Bg img:

https://assets.ccbp.in/frontend/dynamic-webapps/book-search-bg.png


1
Expert's answer
2021-03-20T14:27:54-0400
Dear Sree, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS