Form-Validation and Asynchronous Flashcards

(11 cards)

1
Q

Why validate forms?

A

Better data quality, user experience and guidance, reduced load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When to use event delegation?

A

Lists, forms, performance-critical apps, dynamically added elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Input event

A

Validates on every keystroke. Immediate feedback

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Change event

A

Validates when value is finalized. Useful for select dropdown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Regular expressions

A

Provides pattern matching for validating common input formats

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Accessible form validation

A

Makes validation useable for everyone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Asynchronous code benefits

A

Improves performance, network requests don’t freeze the page, smooth user experience, allows multiple requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

JavaScript Object Notation (JSON)

A

A data format for exchanging info between clients and servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fetch App Programming Interface (API)

A

Provides an assured approach to making HTTP requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Modern forms

A

Submit data asynchronously, providing immediate feedback

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Managing loading states

A

Provides visual feedback during asynchronous operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly