Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. <h1>Quiz Page</h1>
  2. <p ng-bind="data.title"></p>
  3. <form name="questionnaire">
  4.  
  5. <input type="radio" value="1" name= "response" id="response1" ng-model="choosedResponse" checked>
  6. <label for="response1">{{data.response1}}</label>
  7. <input type="radio" value="2" name= "response" id="response2" ng-model="choosedResponse">
  8. <label for="response2">{{data.response2}}</label>
  9. <input type="radio" value="3" name= "response" id="response3" ng-model="choosedResponse">
  10. <label for="response3">{{data.response3}}</label>
  11.  
  12. <input type="submit" ng-click="checkResponse()">
  13.  
  14. <div ng-show="badResponse">C'est une mauvaise reponse!</div>
  15. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement