You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You could add "required" in your form input tag to avoid an empty post being posted. Later you will learn how to customise form validation, but right now by adding "required" the browser will display a default message.
<input type="text" name="user" placeholder="Input name here" class="addBlogPostForm__form__input" required>
The text was updated successfully, but these errors were encountered:
You could add "required" in your form input tag to avoid an empty post being posted. Later you will learn how to customise form validation, but right now by adding "required" the browser will display a default message.
<input type="text" name="user" placeholder="Input name here" class="addBlogPostForm__form__input" required>
The text was updated successfully, but these errors were encountered: