input with error message

PHOTO EMBED

Sun Apr 17 2022 03:33:36 GMT+0000 (UTC)

Saved by @realsantosm #css

<div class="input--container input--error">
    <label for="phonenumber" class="input--label">Phone Number </label>
    <input type="number" id="phonenumber" class="input" />
</div>
<div class="input--container input--error">
    <label for="phonenumber" class="input--label">Phone Number </label>
    <input type="number" id="phonenumber" class="input" />
    <span class="input--error--message">Phone number should only contain numbers</span>
</div>
content_copyCOPY