If you want to learn Morse code and you don’t have a teacher, you’d probably just head over to a website or download a phone app. Before that, you probably bought a cassette tape or a phonograph ...
Morse code is a method of encoding words that was invented in the 19th Century as a way of transmitting messages over long distances. This was before the era of telephones and way before smartphones!