French App Making
Computer Science Concepts
Get Familiar with JavaScript
Pseudocode
Pseudocode is a great way to write out the rules and algorithms you need for you app before you begin coding. Since we know we will eventually be coding the app in JavaScript, we are going to try to use that syntax as much as possible for our pseudocode. One person from each group should open this doc link and make a copy. Then work as a team to update with the pseudocode for your assignment. Please share this doc with kwilkens@stab.org & kboulle@stab.org.
All done?
- function - a block of code to perform a certain task
- variable - a container where you can store data
- assignment - assigning a variable a value
- conditional - if something happens, then do this, else do that
Get Familiar with JavaScript
- Remix this Thimble template
- Look for the function fortune ()
- Let's rename this function. You will need to rename where it is defined and where it is called.
- Look for the variable named answers
- Note that answers gets assigned with an = sign
- Update this variable with your own answers. Be sure to pay attention to the syntax.
- Give it a try: In the query.raptorize.1.0.js file, there is conditional coding for the entrance of the raptor. The key to this condition is (options.enterOn == ' '). In JavaScript, equivalency is indicated by two == signs. The variable enterOn gets assigned in index.html. Can you figure out how to get it to start on timer?
- What else can you update in this template? Images, colors, fonts, sounds?
- When you are done, login & publish. E-mail link to kwilkens@stab.org.
Pseudocode
Pseudocode is a great way to write out the rules and algorithms you need for you app before you begin coding. Since we know we will eventually be coding the app in JavaScript, we are going to try to use that syntax as much as possible for our pseudocode. One person from each group should open this doc link and make a copy. Then work as a team to update with the pseudocode for your assignment. Please share this doc with kwilkens@stab.org & kboulle@stab.org.
All done?
- CodeCombat - learn JavaScript while playing a game
- Code Maven - JavaScript Tutorial by Crunchzilla
- BitsBox - learn JavaScript while creating an “app”