I'm doing some homework in HTML/CSS and I can't figure out how to make two headings appear on the same line and aligned to different sides.

To make them appear on the same line I used this:
h1,...