/Pig-latin

use if/else to verify elements of and manipulate user input strings

Primary LanguageJavaScript

Leap Year Determiner


_A Pig Latin Translator, 4-3-19

By Brian Hensley & Megan Schulte

Description

This is a page that will take the users' inputted text and run it through a function and series of if/else questions to translate the text into Pig Latin.

Setup/Installation Requirements

  • Clone from github at ##########

  • Open index.html in your browser

  • _Enter text.

  • _Receive your text back translated into Pig Latin.

Specs example input example output
Does nothing to non-alphabetical characters $3 $3
Adds "ay" to the end of single-character words beginning with a vowel I Iay
Adds "way" to the end of multi-character words beginning with a vowel ass assway
For words beginning with one consonant, move consonant to the end and add "ay" to the end fart artfay
For words beginning with two or more consonants move all consonants before a vowel to the end and add an "ay" to the end shart shartay
For words with 'q' before the first vowel move the 'u' with the 'q' queen squeak eenquay eaksquay
For words beginning with a 'y' treat 'y' as a consonants year earway

Known Bugs

No known bugs

Support and contact details

_Contact us for anything at brnhensley@gmail.com, or open create a pull request in GitHub.

Technologies Used

I used HTML, CSS, bootstrap, JavaScript, jQuery and a lot of DuckDuckGo-ing to build this webpage.

License

GPL, keep information free.

Copyright (c) 2016 Brian Hensley & Megan Schulte