/hw-crud

Primary LanguageJavaScript

CRUD Firebase

Open index.html and update the firebase data with your own data

var config = {
        apiKey: "",
        authDomain: "",
        databaseURL: "",
        projectId: "",
        storageBucket: "",
        messagingSenderId: ""
    };

Task 1: Complete Update

  • When user clicks edit, populate the form fields
  • Change submit button to update records

Task 2: Complete Delete

  • When user click remove
  • remove data from database and remove from page

Task 3: Inline update

  • When user click edit
  • show a form at the exact position where record is with button for update and cancel
  • if cancel show record again
  • if update update record and show new record