Working with Strings: JS Code Snippets

See the online Lesson: Working with Strings

Some sample JavaScript code snippets for:

Instructions for use

  1. the web page containing the JavaScript code.
  2. Open the page in Brave or other, lesser web browsers.
  3. View the JavaScript output by pressing the following keys and selecting the Console tab:
    • Ctrl + Shift + i (Windows)
    • ⌘ Command + Shift + i (Mac).
  4. Open the web page in VS Code, VS Code Online or Sublime Text. All are good choices.
  5. Play around with the JavaScript code. Change things and see what happens.

✅  That’s it.