JavaScript: Form Validation & Async Programming

ECMAscript 2019
  • 10 Videos | 1h 5m 50s
  • Includes Assessment
  • Earns a Badge
Likes 13 Likes 13
Form validation is a common use case for Javascript. Learners will explore basic steps involved in this process, including an overview of asynchronous programming and the use of promises to handle such code, in this 10-video course. Key concepts covered here include how to define simple registration forms with text, numerical input fields, radio buttons, check boxes and drop-down menu; how to access individual form elements and their data contents from Javascript; and learning when variables are destroyed by Javascript when a form submission navigates users to a different web page. Begin by observing a variety of form validations for different input fields; learning operations which run asynchronously in your Javascript application; and learning how to use promises to chain the execution of two functions where one depends on the results returned by the other. Next, learn a function making multiple asynchronous function calls by using async/await syntax. Finally, observe how to use the fetch function to asynchronously retrieve an image file and relate it to the XMLHttpRequest of AJAX.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    define a simple registration form with text, numerical input fields, radio buttons, check boxes and a drop-down menu
    access individual form elements and their data contents from JavaScript
    recognize when variables are destroyed by JavaScript when a form submission navigates the user to a different web page
    define a variety of form validations for different input fields
  • identify operations which run asynchronously in your JavaScript application
    use promises to chain the execution of two functions where one depends on the results returned by the other
    define a function making multiple asynchronous function calls using the async/await syntax
    use the fetch function to asynchronously retrieve an image file and relate it to the XMLHttpRequest of AJAX
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m
    UP NEXT
  • Playable
    2. 
    The HTML for a Registration Form
    6m 16s
  • Locked
    3. 
    Retrieving Form Data from JavaScript
    6m 32s
  • Locked
    4. 
    Logging Form Inputs to the Console
    4m 14s
  • Locked
    5. 
    Validating Form Data
    9m 7s
  • Locked
    6. 
    An Introduction to Asynchronous Programming
    7m 45s
  • Locked
    7. 
    An Introduction to Promises
    8m 2s
  • Locked
    8. 
    The async/await Syntax
    7m 19s
  • Locked
    9. 
    The fetch API and AJAX
    9m 34s
  • Locked
    10. 
    Course Summary
    1m 3s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

COURSE SOLID & GRASP
Likes 3218 Likes 3218  
Likes 36 Likes 36