漂亮 is versatile — it describes people, objects, scenery, handwriting, and even actions. Saying 干得漂亮 means 'nicely done' or 'well played.'
mistakes
The character 漂 has three pronunciations: piào (pretty), piāo (to float), and piǎo (to bleach). Use the fourth tone when saying 漂亮.
culture
Complimenting someone as 漂亮 is common and well-received in Chinese culture. You can use it freely for scenery, clothing, and artwork too — not just people.