Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div id="app" >
  <flow-form v-bind:questions="questions" v-bind:language="language" />
</div>  

    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@ditdot-dev/vue-flow-form@1.1.6/dist/vue-flow-form.umd.min.js"></script>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ditdot-dev/vue-flow-form@1.1.6/dist/vue-flow-form.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ditdot-dev/vue-flow-form@1.1.6/dist/vue-flow-form.theme-green.css">
              
            
!

CSS

              
                
              
            
!

JS

              
                new Vue({
      el: '#app',
      data: function() {
        return {
          language: new FlowForm.LanguageModel({
            enterKey:'エンターキー',
            shiftKey:'シフトキー',
            ok:'OK',
            continue:'続ける',
            skip:'スキップ',
            pressEnter:':enterKey を押してください',
            multipleChoiceHelpText:'好きなだけ選択してください',
            multipleChoiceHelpTextSingle:'回答を1つだけ選択してください',
            otherPrompt:'その他',
            placeholder:'ここに答えを入力してください...',
            submitText:'送信する',
            longTextHelpText:':shiftKey + :enterKey で改行します。',
            prev:'前へ',
            next:'次へ',
            percentCompleted:':percent% が完成',
            invalidPrompt:'フィールドに正しく入力してください',
            thankYouText:'回答終了です。ありがとうございます!',
            successText:'送信が送信されました。',
            ariaOk:'押して続行',
            ariaRequired:'このステップは必須です',
            ariaPrev:'前のステップ',
            ariaNext:'次のステップ',
            ariaSubmitText:'押して送信',
            ariaMultipleChoice:':letter を押して選択します',
            ariaTypeAnswer:'ここに答えを入力してください',
          }),
          questions: [
            new FlowForm.QuestionModel({
              title: '問題',
              type: FlowForm.QuestionType.MultipleChoice,
              required: true,
              options: [
                new FlowForm.ChoiceOption({
                  label: '回答1'
                }),
                new FlowForm.ChoiceOption({
                  label: '回答2'
                }),
                new FlowForm.ChoiceOption({
                  label: '回答3'
                }),
                new FlowForm.ChoiceOption({
                  label: '回答4'
                })
              ]
            }),
            new FlowForm.QuestionModel({
              title: '選択したいければ選択してください。',
              type: FlowForm.QuestionType.MultipleChoice,
              options: [
                new FlowForm.ChoiceOption({
                  label: '回答1'
                }),
                new FlowForm.ChoiceOption({
                  label: '回答2'
                }),
                new FlowForm.ChoiceOption({
                  label: '回答3'
                }),
                new FlowForm.ChoiceOption({
                  label: '回答4'
                })
              ]
            }),
            new FlowForm.QuestionModel({
              title: '今日の日付は?',
              type: FlowForm.QuestionType.Date,
              required: true,
            }),
            new FlowForm.QuestionModel({
              title: 'お名前を入力してください。',
              type: FlowForm.QuestionType.Text,
              required: true,
            }),
            new FlowForm.QuestionModel({
              title: 'パスワードを入力してください',
              type: FlowForm.QuestionType.Password,
              required: true,
            }),
          ]
        }
      }
    });
              
            
!
999px

Console