This is my code:
var eatsPlants = false; var eatsAnimals = true; var category = eatsPlants ? eatsAnimals ? "omnivore" : eatsPlants ? "herbivore" : eatsAnimals ? "carnivore" : "undefined";
I am getting an error that says that it needs another colon on the end and then an expression, but I have no other conditions.