Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Quiz Page</h1>
- <p ng-bind="data.title"></p>
- <form name="questionnaire">
- <input type="radio" value="1" name= "response" id="response1" ng-model="choosedResponse" checked>
- <label for="response1">{{data.response1}}</label>
- <input type="radio" value="2" name= "response" id="response2" ng-model="choosedResponse">
- <label for="response2">{{data.response2}}</label>
- <input type="radio" value="3" name= "response" id="response3" ng-model="choosedResponse">
- <label for="response3">{{data.response3}}</label>
- <input type="submit" ng-click="checkResponse()">
- <div ng-show="badResponse">C'est une mauvaise reponse!</div>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement