Despite the -ly ending, friendly is an adjective in this case. It modifies the noun "advice".
(Most modifiers ending with -ly are adverbs; this is an exception)
Determine the category of "friendly" in the following sentence. Use the substitution and co-ordination tests to justify your answer:
David gave Mary friendly advice.
2 answers
How do you perform the co-ordination test, I'm at a loss