Northcentral Technical College Introduction To Programming
10-152-310
Introduction to Programming with JavaScript NTC 10-152-310

Learning Plan 3 3.3 Assignment 1

# 3.3 Assignment 1

#### File: /Learning Plan 3/3.3assignment1.html

### Student

- Name:
- Section:
- Email:

## Part 1

1. Open this file in Firefox and Microsoft Visual Studio
2. Add your name, section, and email
3. Add code after the line: `// PART 1: YOUR CODE STARTS AFTER THIS LINE:` to complete the exercise.
   1. Pick two numbers, any two will do.
   2. In a set of `document.write();` statements compare the two numbers with all of the equality operators. (How many are there?)
   3. Display each comparison as shown in the sample output.
   4. (I did the first one, again.)

> Sample Part 2 Output:

    (10 == 11) is false
    ...

### Your Part 1 Output:

## Part 2

1. Add code after the line: `// PART 2: YOUR CODE STARTS AFTER THIS LINE:` to complete the exercise.
   1. Using the same two numbers from part 1, we'll do something different. Make the second number a string.
   2. In a set of `document.write();` statements compare the two numbers with all of the equality operators. (How many are there?)
   3. Display each comparison as shown in the sample output.
   4. (I did the first one, yet again.)
   5. Hint: You can just copy all the document.write() statements from part 1 and just make the second number a string in the display and the JavaScript code.

> Sample Part 2 Output:

    (10 == "11") is false
    ...

### Your Part 2 Output:

### Submitting your work

- Zip and submit this page 3.3 Assignment 1