mercredi 16 décembre 2020

Array of check box answers correct r not (condition)

Who to check array of check box answers correct or not?

For example

  • 4 options are A, B, C, D
  • answers are [true, false, true, true]

My logic

var isCorrect;

for(i=0; i>options.length; i++) {
    if(option[i] == true ) {

    }
}

Aucun commentaire:

Enregistrer un commentaire