Examples of using "はい、好きです。" in a sentence and their spanish translations:
Sí, me gusta.
"¿Le gusta el pastel?" "Sí, me gusta."
«¿A él le gusta la música?» «Sí.»