Dynamic text does not show on the form

I have a dynamic text based on a checkbox. The component has a listener attached. I can’t find the problem.

<?js: return getValue("GesCheckbox3")=="true" ?
"<span style="color:#bec2c3;">Complete the child's details</span>" : 
"<span style="color:#bec2c3;">You must be the parent of the child to apply</span>";  ?>

HTML tags such as style, class etc. should be wrapped in single quotes.
BTW Eximee Console should indicate that this is incorrect in the component.
image

The solution to your problem is to replace the quotes in the ‘style’ element with apostrophes.

<?js: return getValue("GesCheckbox3")=="true" ?
"<span style='color:#bec2c3;'>Complete the child's details</span>" : 
"<span style='color:#bec2c3;'>You must be the parent of the child to apply</span>";  ?>