Elements
Beginner
Exercise 10 of 31
Disabled Buttons
Buttons that stay disabled until the user types something.
1. Enable the button when the input has text
The Send button is disabled while the message is empty or only spaces.
2. Enable the button when every field is valid
Register stays disabled until the username has at least 3 characters and the email is valid.