In this unit, coders will create a Pig Latinizer. The Pig Latinizer will take a user's sentence and display the sentence in pig latin on the screen. To create this project, coders will use jQuery to take user input and display data, string methods to separate and transform words, loops to iterate over multiple items in an array, and array methods to add items and join items into a sentence. Follow the steps below to make your very own site! Make sure to check off your items as you complete them. [ ] => [x] Pig Latin takes the first consonant (or consonant cluster) of an English word, moves it to the end of the word and suffixes an ay, or if a word begins with a vowel you just add ay to the end. For example, pig becomes igpay, banana becomes ananabay, and aadvark becomes aadvarkay.
- Review your Starter Code and make sure you understand what code has already been written for you.
- Go to the repository at https://github.com/itscodenation/piglatinizer
- Fork this repository to your github account and pull it into Gitpod
- Add, commit, and push your changes
- Make your site live on gh-pages
- Make small updates.
- Create a click handler to take user input and display it on the page
- Using array methods, write the code that displays a word transformed into Pig latin and displays it on the page
- Push your changes!
- Using array methods and loops, write the code to transform an entire sentence into pig latin.
- Using string methods and your knowledge of conditionals, write the code that will Pig Latinize your sentence correctly for both vowels and consonants.
- Push your changes!
- Create another input box that transforms pig latin into english
- Create you own secret encoder that encrypts messages
- Try out the passcode