Listen to a melody and chord progression on piano and try to write it out.

Step-by-step tutorial

This is an experimental / hobby section of Hooktheory's website. Also, be forewarned: the intermediate and advanced challenges are hard.