fieldset

form fieldset

by manoj_antony32

HTML

<form>
  <fieldset id="question-1">
     <legend>Easy question</legend>
     <input type="checkbox" id="choice-1-1" checked >Incorrect answer</
  </fieldset>
  <fieldset id="question-2">
     <legend>Another sample question</legend>
     <input type="checkbox" id="choice-2-1">sample incorrect answer</input><br/>
     <input type="checkbox" id="choice-2-2">sample correct answer</input>
  </fieldset>
</form>

JavaScript

'use strict';

/* global $, jQuery, should_be_checked */

function solution() {
    // You can write to stdout for debugging purposes, e.g.
    // console.log('this is a debug message');
    function should_be_checked(question_index, choice_index) {
    
    }
}