Diplodocus was a huge dinosaur from the same time as the "Allosaurus". It lived during the Upper Jurassic period, about 145 to 155 million years ago. It was a vegetarian, eating mostly leaves with its peg-like teeth.