/pig-latin

Intro: Arrays & Looping

Primary LanguageJavaScript

Pig Latin Translator

Turn your English into Pig Latin

By Olivia Hinton & Samuel J Park

Description

This website will translate your English into Pig Latin.

Specs

Behavior Input Outcome
For words that start with a vowel, add (ay) to end apple appleay
for words that start with 1 consonant, move that consonant to the end, and add "ay" computer omputercay
For words that start with two or more consonants, move consecutive consonants to the end and add "ay" sheet eetshay
For words that start with "qu", move "qu" to the end and add "ay" quiet ietquay
For words that start with "y", treat "y" as a consonant, move all consonants to the end and add "ay" young oungyay

Setup/Installation Requirements

  • Clone this repository
  • Open a HTML file
  • Open web browser of choice

Known Bugs

  • Freezes when words without vowels are used. Example: my
  • Allows user to input numbers, and then freezes

Support and contact details

Technologies Used

  • HTML
  • CSS
  • Bootstrap
  • JavaScript
  • jQuery

License

This software is licensed under the MIT license.

Copyright (c) 2016 Olivia Hinton and Sam Park