Challenge: Reading Code and Fixing Errors

Assignment

Code Sheet

Using the code sheet handout provided, mark up the code using the following instructions.

Instructions

  1. Highlight or note somewhere any code that you’re unfamiliar with or haven’t seen before

  2. Add an asterisk (*) in front of all the function declarations

  3. Underline all the parameters

  4. Circle all the arguments

  5. Write a square bracket ( [ ] ) in front of any conditional statements & inside the brackets, indicate any operators they’re using (separate multiple with a comma)

  6. For your assigned code:

    1. Find out what it does, 5 min explanation

    2. Provide 2 code examples.

Additional Resources

These resources are very helpful when you are trying to solve a problem or need to look up documentation.

Last updated