Lesson 2

This is lesson 2.

There are a bunch of Skilling tags for making useful learning objects. Like diagnostic MCQs. Here's one now!

Multiple choice

What will this code output?

  • let a = 2;
  • let b = 4;
  • if (! a == 3 || b == 4) {
  •   console.log("Dog");
  • }
  • else {
  •   console.log("Llama");
  • }
Saving
A

Dog

B

Llama

C

Dog Llama

D

Nothing

Not graded. So why do it?

There are fill-in-the-blanks, too.

Fill in the blank

Fingers on hand

How many fingers do you have on your left hand?

Your answer:
Saving
Not graded. So why do it?

Here is a principle.

Principle

Principle 2

Principle 2