You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Write a program that converts English text to Morse code. Use <code>prompt()</code> to recieve user input and <code>conole.log()</code> to display output. Code using '.' for a dot, '-' or '_' for a dash, separating letters by spaces and words by '/' or '|'.</p>
<p>The program should be able to convert strings consisting of A-Z, 0-9, and basic punctuation.</p>
<p>Use <code>document.getElementById('result').innerHTML = <i>your_output</i>;</code> to write program output to page.</p>