Online coding exercises often use the 'block' technique to allow students to drag and drop coding blocks to create a program.