reading-notes

Code-Fellows reading notes.

View the Project on GitHub bkasprzyk19/reading-notes

<==Back

Reading

From the Duckett HTML book:

- Chapter 2: “Text” (pp.40-61)
- Chapter 10: Ch.10 “Introducing CSS” (pp.226-245)

From the Duckett JS book:

- Chapter 2: “Basic JavaScript Instructions” (pp.53-84)
- Chapter 4: “Decisions and Loops” only up to the section on switch statements (pp.145-162)

let axe = 3

/* This is commented out multi line*/

<!-- or this -->

scripts store data in variables

Step #1

Declare Variable var quantity; Assign Value quantity = 6;

Numeric Data Type

0.45

String Data Type

'Hello world!'

BOOLEAN Data Type

True or False

Remember the 6 Rules of naming a variable:

Check page 69 in the book to see the rules.

An array can store a list of values

-use when working with values that are related to eachother.

An expression evaluates into a single calue

var color = 'blue';

var volume = 4 * 4 * 5;

Expressions rely on operators to allow creation of a single value from one or more.

### arithmetic operators

REMEMBER