The phrase is grammatically correct, but it’s strange a bit.
Id would be better to say something like «Спасибо за прояснение».


If you want to say ‘X likes Y’ using the verb «нравиться», then...