For the giraffe in the Littlest Pet Shop DS game, the codes are LPSGIR and LPSTRU.
Enter them exactly as written, capitals included, and without spaces. Passwords in this game are unforgiving about stray characters, so if one is rejected it is almost always a typing slip rather than a wrong code.