You really should try to answer the 5 questions below this without any help. These are core concepts that you should at least attempt to learn.
The update JQUERY function may require a little help but try without first
Hacks should only take 20 minutes at most
Free Response and MCQ
What does CRUD stand for?
Create
Read
Update
Delete
What are the HTTP verbs that are associated with each CRUD action?
C - POST
R - GET
U - PUT
D - DELETE
What is JQuery?
jQuery is a simple and fast JavaScript toolkit that makes it easier to work with web pages by simplifying common tasks like handling events and changing HTML.
Match A, B, and C into the JQuery event handler for a data table
A: ‘click’
B: ‘.delete-btn’
C: ‘#data-table’
$(C).on(A, B, function() {
// code
});
Why do we use JQUERY with CRUD?
Using an API database, we can use jquery with crud to create records, retrieve data to display, update data in the database, remove data, all of which can be done in the front end with jquery.
Finish the update JQUERY function
its all the way at the end, you should see the green comment
you can choose to use the two lines I’ve already given or not