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

  1. What does CRUD stand for?
    • Create
    • Read
    • Update
    • Delete
  2. What are the HTTP verbs that are associated with each CRUD action?
    • C - POST
    • R - GET
    • U - PUT
    • D - DELETE
  3. What is JQuery? jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, and animation much simpler with an easy-to-use API that works across a multitude of browsers.

  4. Match A, B, and C into the JQuery event handler for a data table
    • A: ‘click’
    • B: ‘.delete-btn’
    • C: ‘#data-table’

$(‘#data-table’).on(‘click’, ‘.delete-btn’, function() { // code });

  1. Why do we use JQUERY with CRUD? jQuery is used with CRUD operations to simplify the process of manipulating the DOM (Document Object Model) and handling events in web applications. It provides a more straightforward and less verbose way to handle client-side scripting. For CRUD operations, jQuery can be used to dynamically update the user interface to reflect changes in the data (like adding, updating, or deleting entries) without the need for a full page reload. This enhances the user experience by making web applications more responsive and interactive.

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 Email Actions