I'm trying to define a class in a separate javascript file and then use that class in my HTML file. Here's what I'm trying. I create the class VoiceCard in the
Problem I'm trying to play some audio files in some specific situations. e.g) When users access to login page, the audio plays 'Please enter your phone number'