The dinosaurs took place before the Bible begins. This is why the Bible starts off with the world in a state of ruin. Genesis 1:2 "The earth was
formless and void". Jeremiah talks about this also.
Jeremiah 4:23 I looked on the earth, and behold, it was
formless and void; And to the heavens, and they had no light. 24
I looked on the mountains, and behold, they were quaking, And all the hills moved to and fro. 25 I looked, and behold, there was no man, And all the birds of the heavens had fled.
The story of Adam and Eve begins around 6,000 years ago. God is infinite and you can not put infinity in a jar. If you want to understand Genesis chapter one it would take hundreds of thousands of science books to explain and you would still only be beginning to understand.