reading-notes

Code-Fellows reading notes.

View the Project on GitHub bkasprzyk19/reading-notes

<==Back

From the Duckett HTML book:

From the Duckett JS book:

<p class="fruit">peach</p>

opening tag / closing tag

attribute name / attribute value

.fruit{color:pink;} ## css selector

A Script is a series of instructions followed by a computer.

document.write('Good afternoon!');

object _____method

Any time a browser comes accross a script:

Keep your files seperate

This will help you stay organized

<script> to load JS

The language: Syntax and Grammar

/* 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