Like other animals in the macropod family , such as kangaroos and wallabies ) , the Quokka eats grass and small plants , and is mainly nocturnal . Like other marsupials in the macropod family ( such as the kangaroos and wallabies ) , the Quokka is herbivorous and mainly nocturnal .