Directions
- 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? Essentially, jQuery is a library that allows us to use some of JavaScript’s built in functions
- 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? To create records or objects in a database, retrieve data from our database for display or for interaction, update our data in our database,and remove data from our database,
popcorn hack: we used read in our stock project by reading the stock data for the day to show to the user.
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
ID | Name | Actions |
---|