Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.63 KB

README.md

File metadata and controls

24 lines (20 loc) · 1.63 KB

Javascript Basics - 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.
  • You will submit this problem set for review.

Challenges

  1. Bottles of Adult Beverages
  2. Prime Numbers
  3. Shakespearian Insult Generator
  4. Palindrome Detector

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: Open the index.html file and open your Dev Console to ensure your JS files are being loaded
      • console.log() and add debuggers to your heart's content!
  • 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").