Search⌘ K

Step 6: Implement the Update Use Case

Understand how to implement the update use case in a minimal front-end web application with plain JavaScript. This lesson guides you through creating and handling HTML forms to select and update book data, populating form fields dynamically, and using event listeners to capture user input and save changes using localStorage.

We'll cover the following...

Update

For the “Update” use case, we have an HTML page for the user interface (updateBook.html) and a view code file (src/v/updateBook.js).

The HTML form for the UI of the “update book” operation has a selection field to choose the book to be updated, an output field for the standard ...