Full Stack Web Dev (2020)| Using JS To Capture Form Data (Junior Dev)
In my continuation of beginner full stack development for junior developers, I take a look at how we use Javascript to capture data from a form once the user clicks submit.
I review from the previous video what we learned about the method, action, and onsubmit attributes of the HTML form element; how these attributes... told our form what code to run once the form was submitted... whether or not to redirect or refresh after the data had been submitted... and how to submit that data: the GET or POST methods.
I then take a look at how to replace these HTML solutions with Javascript. How event listeners can replace 'onsubmit'... the event object can replace 'action'... and DOM manipulation can replace 'method'
github repo link: https://github.com/an-object-is-a/js_in_web_dev_using_js_to_capture_form_data
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/ Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/ Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel: Paypal: https://www.paypal.me/anobjisa Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK Ethereum: 0x48702412F448a27be03836fb6FE6456603668030 Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here: Twitter: https://twitter.com/anobjectisa1 Minds: https://www.minds.com/an_object_is_a/ Instagram: https://www.instagram.com/an_object_is_
427836953 Bytes