Skip to content

Instantly share code, notes, and snippets.

View san-sekhon's full-sized avatar

Sandeep Singh Sekhon san-sekhon

View GitHub Profile

Introduction to Objects

Lesson

Slides

Exercises

Basic Requirements

Array Iteration with while & for

Lesson

Slides

Exercises

Try to write all of the exercises using both the for loop and while loop.

Introduction to Arrays

Lesson

Slides

Exercises

Basic Requirements

Iteration with the while Loop

Lesson

Slides

Exercises

Basic Requirements

Introduction to Variables

Lesson

Slides

Exercises

Basic Requirements

Logical Operators & More Conditionals

Lesson

Logical Operators

Slides

More Conditionals

Booleans, Comparisons & Conditionals

Lesson

Slides

Exercises

Basic Requirements

Introduction to Functions

Lesson

Slides

Exercises

Basic Requirements

  1. In the console or repl.it, try the following and verify

Exercises

Basic Requirements

Numbers

  1. Enter the following expressions into your console.

1 + 2

// Write a function that takes 3 words and returns a single count of all their letters.
function combinedCharacterCount(word1, word2, word3){
var together = word1 + word2 + word3;
return together.length;
}
// Below is a simple assert function and its invocation. Add this to your code and make sure that the test passes.