Value

by Tessy Thomas

HTML

<!-- Learn about this code on MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox -->

<form>
 <div>
   <input type="checkbox" id="subscribeNews" name="subscribe" value="newsletter">
   <label for="subscribeNews">I am willing to travel </label><input type="tel" class="small-box gray-box-with-border ng-pristine ng-empty ng-valid-pattern ng-valid-maxlength ng-touched ng-invalid ng-invalid-required" maxlength="3" pattern="^[1-9][0-9]{0,3}$"> <label for="subscribeNews">miles</label>
 </div>
 <div>
   <button type="submit">Subscribe</button>
 </div>
</form>