Run the following commands in Terminal:
$ git clone
this repository$ cd pig-latin
$ open index.html
Specs | Input | Output |
---|---|---|
The program does nothing to non-alphabetical characters, since they do not contain consonants or vowels. | 3 | 3 |
The program adds "way" to single-letter words beginning with a vowel. | i | iway |
Add "way" to the end of multiple letter words beginning with vowels. | at | atway |
For words beginning with one or more consonants, move all of the first consecutive consonants to the end, and add "ay". | so, skirt, strap | osay, irtskay, apstray |
For words beginning with "y", treat "y" as a consonant. | yes | esyay |
If the first consonants include "qu", move the "u" along with the "q". | quit, squeal | itquay, ealsquay |
There are no known bugs at this time.
If you have questions or comments, please contact Riki or Margaret
We used HTML, CSS, JS, jQuery, and Bootstrap.
MIT License
Copyright (c) 2017 Riki Montgomery and Margaret Berry