HUANG's Notes

There is no royal road to learning -- Anthony Trollope

CSS Review

BY Guanqiao Huang

SETUP AND SYNTAX The basic anatomy of CSS syntax written for both inline styles and stylesheets. Some commonly used CSS terms, such as ruleset, selector, and declaration. CSS inline styles c...

CSS Example

BY Guanqiao Huang

Stylesheet Internal Stylesheet <style> selector { //declaration property: value; } </style> External Stylesheet <link href='./style.css' rel='stylesheet'> Universal * { p...

HTML Review2

BY Guanqiao Huang

SEMANTIC HTML Semantic HTML introduces meaning to a page through specific elements that provide context as to what is in between the tags. Semantic HTML is a modern standard and makes a websit...

HTML Review

BY Guanqiao Huang

INTRODUCTION TO HTML HTML stands for HyperText Markup Language and is used to create the structure and content of a webpage. Most HTML elements contain opening and closing tags with raw text ...

JavaScript Note.js

BY Guanqiao Huang

Summary A runtime environment is where your program will be executed. JavaScript code may be executed in one of two runtime environments: a browser’s runtime environment the Node runtime env...

JavaScript Notes 6 Classes

BY Guanqiao Huang

Classes class Dog { constructor(name) { this._name = name; this._behavior = 0; } get name() { return this._name; } get behavior() { return this._behavior; } incre...

JavaScript Notes 5 Objects

BY Guanqiao Huang

Objects Property Assignment add new properties and change the properties const spaceship = {type: 'shuttle'}; spaceship = {type: 'alien'}; // TypeError: Assignment to constant variable. spac...

JavaScript Notes 4 Arrays & Loops

BY Guanqiao Huang

Review Arrays Arrays are lists that store data in JavaScript. Arrays are created with brackets []. Each item inside of an array is at a numbered position, or index, starting at 0. We can ...

JavaScript Notes 3 Scope

BY Guanqiao Huang

Review: Scope Scope is the idea in programming that some variables are accessible/inaccessible from other parts of the program. Blocks are statements that exist within curly braces {}. Globa...

Learn JavaScript

BY Guanqiao Huang

Running Environment VS Code Node.js VS Code Extension Live Server Course Basic Codecademy - Introduction to JavaScript Linkedin Learning: Learning the JavaScript Language (2 hours 5...