Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 491 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 491 Bytes

Instructions ####################################################### Write a program that converts English text to Morse code. Use prompt() to recieve user input and conole.log() to display output. Code using '.' for a dot, '-' or '_' for a dash, separating letters by spaces and words by '/' or '|'.

The program should be able to convert strings consisting of A-Z, 0-9, and basic punctuation.

Use document.getElementById('result').innerHTML = your_output; to write program output to page.