Created
May 21, 2019 09:15
-
-
Save indatawetrust/68505be60f5601ffff1d7948b9327fe0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var form = FormApp.create('Örnek Test'); | |
form.setIsQuiz(true); | |
var item = form.addMultipleChoiceItem(); | |
item.setTitle("Türkiyenin başkenti neresidir?") | |
.setChoices([ | |
item.createChoice("İstanbul", false), | |
item.createChoice("Ankara", true), | |
item.createChoice("Antalya", false), | |
item.createChoice("Bursa", false) | |
]) | |
.showOtherOption(false); | |
var correctFeedback = FormApp.createFeedback() | |
.setText("Doğru") | |
.build(); | |
item.setFeedbackForCorrect(correctFeedback); | |
var incorrectFeedback = FormApp.createFeedback() | |
.setText("Yanlış") | |
.build(); | |
item.setFeedbackForIncorrect(incorrectFeedback); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment