漂亮 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). Make sure to use the 4th tone when saying 漂亮.
culture
In Chinese culture, complimenting someone as 漂亮 is common and well-received. You can use it freely for scenery, clothing, and artwork too — not just people.