Is there another way to write a labelled function.
I don’t understand when we use colon:
check**:** function(element){
let id=element.id.split('');
if(id[id.length-1]==this.questions[this.index].answer){
this.score++;
element.className="correct";
this.scoreCard();