Problem Statement
Which class shows error text only when the input is invalid and the form was validated?
Explanation
Use .invalid-feedback for error text and .valid-feedback for success messages. These stay hidden until the input becomes invalid or valid within a validated form.
Code Solution
SolutionRead Only
<div class='invalid-feedback'>Please enter a valid email.</div>
