Trying to use alternate shading on a side-by-side question. | XM Community
Skip to main content

I believe this is the correct Coding to use: jQuery("#"+this.questionId+" .ReadableAlt").css("background","#F8F8F8"); (thank you Sage!). But when I enter it into the Javascript page - it does nothing. What am I doing wrong??
image.png

Hi KMT,
The /*, */ and // symbols in javascript are used to type comments (kind of like notes in your code). Any text that has been commented out does not actually run as code.
Remove the /* and */ symbols from that line and your code should run (assuming it is correct).
Good luck!


Thank you so much!!


Leave a Reply