Hello Tiffany,
Irony comes in many different shapes and sizes, but the main gist of irony is that it serves as a humorous contradiction.
An ironic ending then, would be an ending that concludes in a way that is different that what is expected, or that directly contradicts a character’s desires.
For instance, if a snail spent the whole story trying to run a one mile track, and then the story ended with the snail getting stepped on right before he crossed the one mile line. This is ironic for two separate reasons; one, because as readers we expect that the snail will finally complete the track, and the twist of events contradicts the ending we formed in our ahead. And two, the ending directly contradicts the snail’s desires and what he has been working for.