Skip to content

For words beginning with a vowel, add "way" to the end. For words beginning with one or more consonants, move all of the first consecutive consonants to the end, and add "ay". If the first consonants include "qu", move the "u" along with the "q". Don't forget about words like "squeal" where "qu" doesn't come first! For words beginning with "y", …

Notifications You must be signed in to change notification settings

ldonald067/pig-latin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig Latin convertor

Page that converts input text to pig latin, 3.29.2017

Description

This is a page designed to take text input by the user and convert it to pig latin. Made to practice BDD, JavaScript business/user logic separation for Epicodus week 3.

Setup/Installation Requirements

  • clone this repository
  • open index.html with browser

Known Bugs

  • None

Specs

Recognize that its not a letter

  • Input = 3
  • Output = 3

Recognize a single vowel

  • Input = a
  • Output = ay

Recognize word beginning with vowel

  • Input = apple
  • Output = appleay

Recognize words beginning with 'qu'

  • Input = quest
  • Output = estquay

Recognize words beginning with 'squ'

  • Input = squeal
  • Output = ealsquay

Recognize word beginning with two consecutive consonants

  • Input = this
  • Output = isthay

Recognize word beginning with a single consonant

  • Input = hello
  • Output = ellohay

Recognize regardless of upper case/lower case

  • Input = Apple
  • Output = Appeay

Technologies Used

  • HTML, CSS, Bootstrap, JavaScript, jQuery

License

  • MIT

About

For words beginning with a vowel, add "way" to the end. For words beginning with one or more consonants, move all of the first consecutive consonants to the end, and add "ay". If the first consonants include "qu", move the "u" along with the "q". Don't forget about words like "squeal" where "qu" doesn't come first! For words beginning with "y", …

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published