This project used the TDD (Test Driven Development) approach. This meant all code was based upon tests that were built so the code could run and translate whatever the use would input. This means in the same field the user could write morse code and it will translate to english and vice versa. This also meant the library for english to morse was only needed rather than having two opposite libraries.
- HTML
- CSS/SCSS
- JavaScript
TDD tests can be viewed here This allowed for a more efficient approach to program the application to avoid as many bugs as possible.
Here is an example of a English to morse code translation.
Now a morse code to English translation.
... --- -- -.. . -... --- -.. -.-- / .- ... -.- . -.. / -- . / .-- .... .- - / .-. . .--. .-. . ... . -. - ... / ... / .. -. / -- --- .-. ... . / -.-. --- -.. . .-.-.- / .. / ... .- .. -.. / .-.-.- .-.-.- .-.-.-

