Put Text in Bold with Code

Dear All,

I hope you are doing well.

Can someone explain to me the function $w(“#text1”).type.bold, that I do not understand.

Indeed, I have:

Collection: people

Dataset: $w(“#datasetPeople”)

Repeater: $w(“#repeaterPeople”)

Text #1: $w(“#textGivenName”)

Text #2: $w(“#textSurname”)

Button #1: $w(“#buttonGivenNameInBold”)

Button #2: $w(“#buttonSurnameInBold”)

Pushing Button #1, how to put $w(“#textGivenName”) in Bold and $w(“#textSurname”) in non-Bold.

Thank you for your help.

Best regards,

Domivax