Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

React JS Form Validation - Axios User Registration Form Submit - Accessible Registration Form

Dave Gray via YouTube

Overview

Master React JS form validation in this comprehensive tutorial focused on creating an accessible user registration form. Build a robust form with username, password, and password confirmation inputs, implementing real-time validation using regex and React hooks. Learn to display error messages, handle form submission, and integrate Axios for server communication. Explore accessibility features and test the form using a screen reader. Gain practical experience in form development, state management, and API integration while following best practices for web accessibility.

Syllabus

Intro
Welcome
Intermediate level - Faster Pace
Setup and overview
Installing and importing dependencies
Regex for validation
App refs and state
useEffect and validation logic
Displaying error messages
Username input
Password input
Password confirmation input
Form submit button
Link to sign in form
handleSubmit function
Will you submit to a server?
Displaying a success screen
Addiing Axios to the project
Completing handleSubmit with Axios
Axios error handling
Testing the form with a Node JS REST API
Testing Accessibility with a screen reader

Taught by

Dave Gray

Reviews

Start your review of React JS Form Validation - Axios User Registration Form Submit - Accessible Registration Form

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.