Complete CRUD Operations using JavaScript with CSS & Html

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • #learningzity#javascriptcrud#beginnertutorial
    In this video I developed basic javascript crud operations help with the css and html. more than that I explained the javascript DOM manipulation methods including getElementById() and getElementBtTagName()
    🔵Check out the code on my Github if you get stuck : github.com/osh...
    🟠React Basics #1 | Learn the react basics in 5 minutes
    • React Basics #1 | Lear...
    🟠Student Registration Form Using React | Basic of Form Handling
    • React Basics #1 | Lear...
    Thanks For Watching ❤💻

Komentáře • 160

  • @lonthroop
    @lonthroop Před 2 lety +5

    Excellent video and teaching. Helped me to remember how to code this. Question; is there a simple way to add a search function to find by Product code or Product name the contents already entered in to the storage? Thank you for your time. I subscribed.

    • @learningzity
      @learningzity  Před 2 lety +3

      Updated with search function in github search branch 👇👇👇
      github.com/oshgodage/JavaScript-Crud-Operation.git

    • @jayakumar2927
      @jayakumar2927 Před rokem

      @@learningzity how to grid operations

    • @user-ep8dl4pe2o
      @user-ep8dl4pe2o Před 8 měsíci

      😊😊😊😊😊😊😅😅😊😊

  • @Maharashtra_Volgs
    @Maharashtra_Volgs Před měsícem

    thanks for video i have seen many videos to learn it but you are the best😇

  • @PrefabStudios
    @PrefabStudios Před 2 lety +5

    Having problems, It doesnt let me add a whole new Record, it replaces the first one when i put "function onEdit(){" Ut let's me make more than 1 record but not edit them but when i do "function onEdit(td){" it lets me edit the records but doesnt let me make a new record, only that same one

    • @learningzity
      @learningzity  Před 2 lety +1

      Updated the code.

    • @girliesm
      @girliesm Před 2 lety

      Same problem, when i add the onEdit(this) in cell5.innerHTML it has a error

  • @CelebrityNewsHunt
    @CelebrityNewsHunt Před 2 lety

    Garrett Evans Wow thank you Garrett, you've made my day!

  • @michelinfighter2010
    @michelinfighter2010 Před 2 lety

    I love a lot your programming tutorial: your excelent explanation, the background music, your beautiful accent...

  • @azeemtariq3257
    @azeemtariq3257 Před 2 lety +1

    Thank you, it helped but i had a little bit of problems. Good Tutorial

  • @mjpender9443
    @mjpender9443 Před 2 lety +1

    Very well presented. very clear and helpful. Thanks. Mary

  • @AmeerHamza-gz6vp
    @AmeerHamza-gz6vp Před rokem

    Dude you are the best. It is safe and 100% works

  • @ShahzaibNazar-p9r
    @ShahzaibNazar-p9r Před 25 dny

    Thanks to share

  • @Daniel-2275
    @Daniel-2275 Před 2 lety

    tNice tutorials actually was, and I'm just starting myself, I have no idea what I'm doing but I have a ton of ideas in my head. Ti to figure tNice tutorials out

  • @angelicatapeno4363
    @angelicatapeno4363 Před 11 měsíci

    This is essential for my practice, thank you

  • @moulikumar9095
    @moulikumar9095 Před rokem

    tq so much for ur clearcut explanation...

  • @mackygetigan4512
    @mackygetigan4512 Před rokem

    BROOO thankyou so much, this really helped and the tutorial was really easy to use as well :)

  • @rhythmtouchessoul8584

    teaching technique is lovely❤️🤗

  • @emiliodaf
    @emiliodaf Před rokem +1

    hi there, whats up?...thanks for sharing this project....it's really helpful to put the main js concepts in practice...just keep it up!!

  • @user-dk8ej5kn1v
    @user-dk8ej5kn1v Před rokem

    hi, you need to add selectedRow = null; to the last line in function updateRecord(formData). thanks for your video

  • @franciscoadesousa4112
    @franciscoadesousa4112 Před 2 lety +6

    Excelente aula!! obrigado por compartilhar conhecimento parabéns.

    • @learningzity
      @learningzity  Před 2 lety +1

      Thank you ! ❤

    • @nethzkiecueto8567
      @nethzkiecueto8567 Před 2 lety

      @@learningzity hello can i ask a question? i follow your codes but in my case the java script didn't working...please help me 😥

  • @samuelsamm9297
    @samuelsamm9297 Před rokem

    Excellent ...pls keeping more videos

  • @HemmingEducation
    @HemmingEducation Před 2 lety +1

    Great! Works well and very helpful :)

  • @victoradler7518
    @victoradler7518 Před 2 lety

    I from Brazil, thanks! I love yoooooou.

  • @jawwad089
    @jawwad089 Před 2 lety

    using soft, can't wait to get my hands on it.

  • @lerouxgame4249
    @lerouxgame4249 Před 2 lety

    need the other half of the video!

  • @prashantkumarsingh7238
    @prashantkumarsingh7238 Před 8 měsíci

    Thanks for this explanation.

  • @nandanikalansooriya9020
    @nandanikalansooriya9020 Před rokem +1

  • @user.s.
    @user.s. Před rokem

    wonderful video,great content 👌🙌

  • @SongsetImage
    @SongsetImage Před rokem

    Thank you so much ma'am this video very useful

  • @sylvainmounier7433
    @sylvainmounier7433 Před 2 lety

    Thank you ! Tutoriel intéressant et clair.

  • @user-om1rn1cd7n
    @user-om1rn1cd7n Před 10 měsíci

    Best Video Ever❣❣❣❣❣❣

  • @phamuyen9827
    @phamuyen9827 Před 2 lety +2

    I really like the way you do. Can you create a series about NodeJs and ReactJS full tutorial, and some ecommerce projects in fact? Thanks!!

  • @frontendhubs
    @frontendhubs Před rokem

    Nice Explanation

  • @Henry_Nunez
    @Henry_Nunez Před rokem

    Very good 👏👏

  • @vanishrimorabad7478
    @vanishrimorabad7478 Před 2 lety

    This is awesome demo... Thanks :)

  • @CLASSBEAT
    @CLASSBEAT Před rokem

    Good Explaination, But include Live Server....! People might confuse like Me Haha...😅😋

  • @jonathanabes9099
    @jonathanabes9099 Před rokem

    Very helpful thanks!!

  • @zedmedia727
    @zedmedia727 Před 2 lety +1

    Great tutorial, thank you so much, is it possible to request a video on some new topic?

  • @rakeshdakua9875
    @rakeshdakua9875 Před 2 lety

    i think addEvent listener should add while click event happens

  • @somanyann
    @somanyann Před rokem

    i cant add dynamic table. you have done export default function in onFormSubmit but does not really tackle that

  • @FMFT
    @FMFT Před rokem

    Suggestion: AddressBook JavaScript Vanilla

  • @suyognagapurkar7088
    @suyognagapurkar7088 Před 5 měsíci

    Thank you madam

  • @Arunkumar-lw1pb
    @Arunkumar-lw1pb Před 2 lety +1

    why we passing the insertNewrecord(data) => data inside the function parametre
    can u help am a begineer

    • @learningzity
      @learningzity  Před 2 lety +1

      It uses to pass the formData values (var formData=readFormData();) such as Product code, Prodcut Name, Qty, Price to the insertNewRecord(data) as parameter

  • @Rs-nh7zx
    @Rs-nh7zx Před 2 lety +1

    Loved this! Can you do local storage with it?

  • @harmansingh8994
    @harmansingh8994 Před rokem

    Thank you for this video

  • @ahemadshaikh5533
    @ahemadshaikh5533 Před 2 lety

    Background music like - explaining movies

  • @ghorilemin3485
    @ghorilemin3485 Před 2 lety

    Complete CRUD Operations using JavaScript with CSS & Html

  • @miqbal7032
    @miqbal7032 Před 2 lety

    JavaScript for delete data in localStorage by button on table rows

  • @xfordnine7477
    @xfordnine7477 Před 2 lety

    Great Job thanks

  • @p.yogeshreddy2418
    @p.yogeshreddy2418 Před 2 lety

    Awesome lecture mam!!! Really it is very useful...

  • @haiderjaveed2343
    @haiderjaveed2343 Před 2 lety

    else to it. How do I do that? Your answer would be Nice tutorialghly helpful and appreciated.

  • @nagashreebhat5412
    @nagashreebhat5412 Před 4 měsíci

    In this project is it connecting to any database?

  • @SangwaSabrine
    @SangwaSabrine Před 2 měsíci

    thank you

  • @CodingProblemSolver
    @CodingProblemSolver Před 11 měsíci

    afted editing it is giving new table data instead of updating old data

  • @tejakommineni2415
    @tejakommineni2415 Před 2 lety +1

    when we refresh the page data has to visible ,but when you refresh data is gone
    can you solve that problem to me

    • @learningzity
      @learningzity  Před 2 lety

      One way is use window.localStorage . it can store data locally within your browser

  • @heavyfacts557
    @heavyfacts557 Před rokem

    that's awesome🥰

  • @saiminhtet8359
    @saiminhtet8359 Před 2 lety +1

    I have a question please answer me
    My question is where id="storeList" you already used in "insertNewRecord() " how did you do that can you explain me 🥺

    • @learningzity
      @learningzity  Před 2 lety

      insertNewRecord() is a function where I call 'storeList' id (5:52 ) using document.getElementById(storeList) (15:12 )

  • @Silent_XYZ
    @Silent_XYZ Před 2 lety +1

    uh, is there something that im missing? cause ive followed your steps and the table, when i submit it, it doesn't show up.
    😅

    • @learningzity
      @learningzity  Před 2 lety

      I guess so..Plz check with the GitHub code I mentioned above

  • @patel5532
    @patel5532 Před 2 lety

    Thanks for amazing tutorial, but event is deprecated what should I use instead of event in onFormSubmit() function?

  • @imranbaitham6712
    @imranbaitham6712 Před 2 lety

    nice work keep it Up

  • @shaikasif3356
    @shaikasif3356 Před rokem

    best luck!

  • @kaladrashid
    @kaladrashid Před 10 měsíci

    How we can make that program in two pages?
    One page for encoding
    And one page for saving table

  • @plofficial5258
    @plofficial5258 Před rokem

    how to add multiple records? and after updating the records? how it posibble ?

  • @bm_pug
    @bm_pug Před 2 lety

    I get a TypeError: Cannot read properties of undefined (reading ' instertRow') on line 26: var newRow = table.insertRow(table.length); I really can't find my error, and I mimicked it pretty well. Any idea why it might happen?

    • @learningzity
      @learningzity  Před 2 lety

      It's difficult to guess the idea without looking at your code, but it seems you had missed something in below line
      var table = document.getElementById("storeList").getElementsByTagName('tbody')[0];
      check the table id and are correctly assign in your code

  • @dna569
    @dna569 Před 2 lety

    In The setup hey bro i wanted to know how do u load your Sample guide into the packs in the browser?

  • @khplus8091
    @khplus8091 Před rokem

    THANK YOU!! ✌

  • @user-eq4dp2ig8q
    @user-eq4dp2ig8q Před 8 měsíci

    How can I integreate this to DB

  • @kndvideo734
    @kndvideo734 Před rokem

    Hi I like your video but i was having trouble when I type product code product name qty and price nothing appeared

  • @dhrumilpatel3988
    @dhrumilpatel3988 Před 2 lety

    excilent

  • @rayyanabdulwajid7681
    @rayyanabdulwajid7681 Před 10 měsíci

    Thanks❤

  • @alisterteh6219
    @alisterteh6219 Před 2 lety

    need help my submit button does not work after apply javascript

    • @learningzity
      @learningzity  Před 2 lety

      Check whether you call the JS function(your submit function) correctly in the submit form. check the code in github

  • @madhuriausula4125
    @madhuriausula4125 Před 2 lety

    Thank you 😊

  • @prafulgayakwad3281
    @prafulgayakwad3281 Před 2 lety

    can you made same video using node js on crud opration

  • @glam-jh9wz4mk7c
    @glam-jh9wz4mk7c Před 2 lety +1

    I can't see coading

  • @md.kamaluddin5944
    @md.kamaluddin5944 Před rokem

    It’s very difficult to understand the codes what you write there. They are to be zoomed out during making the videos.

  • @animevilla9432
    @animevilla9432 Před rokem

    hey there Excellent video by the way watching this video i make an student form and i have a doubt that when i am entering the roll number it should be unique like if i make the 2nd entry with the same roll number there should be a pop up that roll number is present in the table. Like that can you help me for the same.

  • @ashoktechview2597
    @ashoktechview2597 Před 2 lety

    After CRUD operation to connect DATA basic video

  • @shambashibmajumdar1268

    Excellent Explaination mam! Looking forward to connect with you on LinkedIn!

  • @intothedepth241
    @intothedepth241 Před 2 lety

    How to add view function edit and delete is ok but view required

  • @madhuriausula4125
    @madhuriausula4125 Před 2 lety

    Thank you

  • @wp-elementorpro8599
    @wp-elementorpro8599 Před 2 lety

    perfect video

  • @btsv4235
    @btsv4235 Před 2 lety +1

    Code not visible

  • @sako4822
    @sako4822 Před 2 lety

    Loved this :) Can you do json file with it?

  • @althea_ken45
    @althea_ken45 Před rokem

    can I code this on my mobile phone?

  • @arshdeepsinghchhabra1671

    hello there, this video was really informative and helped me but I've a question : what if instead of delete and update btn in every row can we add checkboxes and as we checked a checkbox both delete and update btn should be enabled and we can delete multiple rows on a single click and the same with update

    • @basscoversimulation3167
      @basscoversimulation3167 Před 10 měsíci

      Have you found the solution to your question, I have the code of what you are describing. I downloaded it from the internet very long time ago.

  • @bhaveshkunbi2164
    @bhaveshkunbi2164 Před 2 lety

    How to retain previous value if i submitted once using html form? Example : if HTMl form has 3 input (name , age , Mob number) first i send all 3 data it saved in record successfully. Now if i want to send name (same name) with only updated number than i don't want to enter age again. means age should be there only.

    • @learningzity
      @learningzity  Před 2 lety

      If you want to update the mob number you can select the relevant row from the table and submit, the theoretical part starts here as you want
      -> 19:17 .Therefore No need to send the name again.

    • @bhaveshkunbi2164
      @bhaveshkunbi2164 Před 2 lety

      @@learningzity actually i am sending data in Elasticsearch (to store data) where i can't select the row and update. Is it possible to get back particular name details from table on html page than i can edit it?

    • @learningzity
      @learningzity  Před 2 lety

      @@bhaveshkunbi2164 ​ If you're using ES then you need to know id of it to update, in your case it's similar to mob number id.

  • @Aakash_0091
    @Aakash_0091 Před 2 lety +1

    How to save all recorded data into database

    • @learningzity
      @learningzity  Před 2 lety +1

      One way is using PHP(create sql connection) file with MySQL database(store data), for this you may need to modify above video code little bit ...

  • @rahulujjawalsharma6503

    Write a program to continuously take a input for students details from the console or html ,the user should be able to add multiple students details once .the data should be saved in a database . Once the data is saved the user should be able to edit and delete option should allow for the bulk delete.plese code

  • @wonderkidz9159
    @wonderkidz9159 Před rokem

    I cannot place value in table there is no error

  • @ramramji5883
    @ramramji5883 Před 2 lety

    How to get total price(auto calculate) in this sequence please update your video ...

  • @loveken_code2255
    @loveken_code2255 Před 2 lety

    how about store data after refreshing page

  • @janpoonthong
    @janpoonthong Před rokem

    how is this CRUD when there is no database?

  • @NestorQuitaligIII
    @NestorQuitaligIII Před rokem

    Hello creator! We are having problems with the data not displaying once we pressed the Submit button.

    • @learningzity
      @learningzity  Před rokem

      It might be the case of not calling submit function correctly.

  • @rajbannasa7662
    @rajbannasa7662 Před 2 lety

    Thank you so much mam ❤️

  • @muhammadfakirullah9986

    Thanks for the video. I just wondering does the data remain there if the tab was closed and open again? Does the data is fetch @ save from db?

    • @learningzity
      @learningzity  Před 2 lety +1

      Since there's no db connection connect with frontend, after refresh you won't get previous entered data

    • @muhammadfakirullah9986
      @muhammadfakirullah9986 Před 2 lety

      @@learningzity thanks for the answer. Just a quick question...can javascript integrate with backend development?

    • @learningzity
      @learningzity  Před 2 lety +1

      @@muhammadfakirullah9986 for that you can use node.js, which allows the javascript code to be run on the server-side

    • @muhammadfakirullah9986
      @muhammadfakirullah9986 Před 2 lety

      @@learningzity thanks...i hope you can do more video about coding...i support what you did, to me it gives motivational to others... also thanks a lot for the info 👍

  • @TanimImam
    @TanimImam Před 2 lety

    true

  • @W__Dev
    @W__Dev Před 2 lety

    Hey there!! Nice video, but there's something wrong.. After I click on the edit button, I can't insert new lines of data, it appears on the same line that I clicked.

    • @learningzity
      @learningzity  Před 2 lety +1

      Thank you for pointing out that, I updated the code

  • @mwanakomboswalehi
    @mwanakomboswalehi Před rokem

    how i can i find stored data

  • @pankajantil8349
    @pankajantil8349 Před rokem

    Dr mam this form js video very helpful for me but video quality is not good

  • @lacerdadenisson
    @lacerdadenisson Před 2 lety

    👏👏👏👏👏👏

  • @remzliennon2809
    @remzliennon2809 Před 2 lety

    nice, but how to save the data if they have the data entered how to save that? they have no database!?

    • @learningzity
      @learningzity  Před 2 lety

      This is front-end development hence data only store temporary to console, for save data you might need back-end work stuff

  • @baitullah381
    @baitullah381 Před 2 lety

    Mam valuable video

  • @gurajb52
    @gurajb52 Před 2 lety +1

    Hi when add more the one record the first one gets deleted and the new record shows. How to make multiple records be shown. Awesome videos btw

    • @learningzity
      @learningzity  Před 2 lety +1

      For the insertion check table and newRow variables, its all start from there,
      For deletion consider the index of the row