/js-objects-training

Javascript Objects Problem Set

Primary LanguageJavaScript

Javascript Objects - Problem Set

  • Please Fork & Clone this repo.
  • For each problem, modify the relevant file in the challengesfolder. We encourage you to commit often and push your changes to github.
  • In your forked copy of this readme, add a short (3-5 sentence) reflection about your work to the top in a section titled "Training Reflection".
  • You should include a link your forked repository on your personal website when you complete work.

Challenges

  1. Letter Count
  2. Query String Parser
  3. Birthday Countdown
  4. Ping Pong

Key Concepts

  • Working with key-value pairs
  • Drilling into complex objects using dot notation and bracket notation
  • Dynamically setting keys in objects (i.e. keys are not hard-coded).
  • Using Array iteration methods.

Executing your code

There are a number of options for running/executing your code. They all have their uses, so we encourage you to learn all of them:

  • From the browser:
    • Using the Chrome Developer Console
      • Tip: Use and to cycle through your code history. Pressing selects the current suggestion. If there’s a single suggestion, Tab to select it.
  • From the command line:
    • Using the Node REPL / Shell
      • Tip: Type .exit to quit. Use and to cycle through your code history.
    • Using the node some-file.js command
      • Tip: Use ctrl + c (shortcut) to quit "hanging" programs. And make sure to console.log("your output").