Here is a goal: How to program a remote garage door opener with a LEARN button?

Which way makes more sense to accomplish this goal?
Make sure the the Garage door opener is plugged to electrical outlet and getting the power. Locate the LEARN button on the garage door opener. Press and immediately release the LEARN button. The LEARN LED will glow steadily. Within 30 seconds, press the button on the remote control that you wish to operate your garage door. The garage door opener lights will flash or you will hear two clicks. The remote control is programmed.