Skip to content

shen-david/piglatinizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig Latinizer Project

Browser preview command: python3 -m http.server 3000

Overview:

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.

Day 1

Planning

  • Review your Starter Code and make sure you understand what code has already been written for you.

Set-Up

index.html

  • Make small updates.

JS

  • 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

Wrap

  • Push your changes!

Day 2

JS

  • 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.

Wrap

  • Push your changes!

Projects Extensions:

  • Create another input box that transforms pig latin into english
  • Create you own secret encoder that encrypts messages
  • Try out the passcode

References/Tools

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.9%
  • JavaScript 21.9%
  • CSS 7.2%