Picture of Corey Rive
MCQ answer color
by Corey Rive - Thursday, 29 March 2018, 1:47 PM
 

Hi All,

I've been asked by the client to show responsive color changes within the MCQ component, any idea if this is possible?

For example, after pressing "Submit" Correct answers are on a green background, incorrect on red, continuing into the "Show Correct Answers" section.

Excuse my extremely limited development knowledge. I imagine its something to do with "item-label-selected"?

Thanks in advance

 

Picture of Matt Leathes
Re: MCQ answer color
by Matt Leathes - Thursday, 29 March 2018, 3:46 PM
 

Hopefully it helps if you know that correct and incorrect classes get applied to the mcq-item divs?

Picture of Corey Rive
Re: MCQ answer color
by Corey Rive - Tuesday, 3 April 2018, 10:38 AM
 

Hi Matt, thanks for the reply, 

What was stumping me was that they didn't seem to be getting the incorrect/correct tags, they ended at item-#.

 

Realised that it needed "show marking" to be enabled to generate the tags.

 

Thanks!