Bootstrap Interview

Bootstrap Forms Interview

1Input styling class?
Answer: .form-control.
2Select styling class?
Answer: .form-select.
3Validation class for invalid input?
Answer: .is-invalid.
4How to build switch controls?
Answer: Use .form-check.form-switch.
5How to group input with prefix/suffix?
Answer: Use .input-group and .input-group-text.