html - How to get a warning that a class name is not recognized? -
today wrote code:
<div class="container"> <form class="form-inline" role="form"> <div class="form-group"> <label for="first">first</label> <input class="form-control" id="first" ng-model="???" ng-readonly="true" /> </div> <div class="form-group"> <label for="second">second</label> <input class="form-control" id="second" ng-model="???" ng-readonly="true" /> </div> <div class="form-group"> <label for="third">third</label> <input class="form-control" id="third" ng-model="???" ng-readonly="true" /> </div> <div class="form-group"> <label for="fourth">fourth</label> <input class="form-control" id="fourth" ng-model="???" ng-readonly="true" /> </div> </form> </div>
the purpose of code form of element in same line. in order make happen, used class "form-inline", part of bootstrap directory. however, since didn't loaded bootstrap files in header, got elements in separate lines.
so spent lot of time understand wrong file. expect browser/ide gives error using unknown class. know how can feature?
Comments
Post a Comment