Adding a javascript or jquery in custom screen code in a dataset

Hi everyone,

Iam looking for instructions on how to hide a field if the answer to the previous is Yes. The image below is just a simple custom form. I have another big custom form in which I have to set skip logic.

Is there any way in which I can solve this situation?