JavaScript Info 1.1.1 - An introduction to JavaScript
What can we achieve using JavaScript?
Posted by Te-Yuan Liu on March 23, 2022 ·
2 mins read
JavaScript Info 1.1.2 - Manuals and specifications
If you are looking for details about the language...
Posted by Te-Yuan Liu on May 29, 2022 ·
1
min read
JavaScript Info 1.1.3 - Code editors
Should I use VScode, Sublime or Vim?
Posted by Te-Yuan Liu on May 30, 2022 ·
1
min read
JavaScript Info 1.1.4 - Developer console
So developers can have an easier life.
Posted by Te-Yuan Liu on May 31, 2022 ·
1
min read
JavaScript Info 1.2.1 - Hello, world!
From JavaScript.
Posted by Te-Yuan Liu on June 02, 2022 ·
1
min read
JavaScript Info 1.2.2 - Code structure
The building blocks of code.
Posted by Te-Yuan Liu on July 06, 2022 ·
3 mins read
JavaScript Info 1.2.3 - The modern mode, "use strict"
To add new features and fix bugs.
Posted by Te-Yuan Liu on July 06, 2022 ·
1
min read
JavaScript Info 1.2.4 - Variables
A variable has its memory address, value, and name(s).
Posted by Te-Yuan Liu on October 07, 2022 ·
1
min read
JavaScript Info 1.2.5 - Data types
There are eight basic data types in JavaScript.
Posted by Te-Yuan Liu on October 08, 2022 ·
5 mins read
JavaScript Info 1.2.6 - Interaction: alert, prompt, confirm
The browser has a couple of functions to interact with the user.
Posted by Te-Yuan Liu on December 05, 2022 ·
1
min read
JavaScript Info 1.2.7 - Type conversions
The three most widely used type conversions are to string, to number, and to boolean.
Posted by Te-Yuan Liu on December 06, 2022 ·
1
min read
JavaScript Info 1.2.8 - Basic operators, maths
There are many operators ranging from simple arithmetic to JavaScript-specifics.
Posted by Te-Yuan Liu on March 20, 2023 ·
6 mins read
JavaScript Info 1.2.9 - Comparisons
There are many different types of comparisons.
Posted by Te-Yuan Liu on March 21, 2023 ·
2 mins read
JavaScript Info 2.1.1 - Browser environment, specs
The JavaScript language was initially created for web browsers. Since then it has evolved and become a language with many uses and platforms. Each of them provides platform-specific functionality but browsers remain the most popular platform to execute JavaScript.
Posted by Te-Yuan Liu on July 29, 2021 ·
2 mins read
JavaScript Info 2.1.2 - DOM tree
The backbone of an HTML document is tags. Every HTML tag is an object. Nested tags are "children" of the enclosing one. The text inside a tag is also an object.
Posted by Te-Yuan Liu on July 30, 2021 ·
1
min read
JavaScript Info 2.1.3 - Walking the DOM
The DOM allows us to do anything with elements and their contents, but first we need to reach the corresponding DOM object. All operations on the DOM start with the document object. That's the main entry point to DOM. From it we can access any node.
Posted by Te-Yuan Liu on July 31, 2021 ·
2 mins read
JavaScript Info 2.1.4 - Searching: getElement*, querySelector*
DOM navigation properties are great when elements are close to each other. What if they are not? How to get an arbitrary element of the page? Here we summarize some additional searching methods for that.
Posted by Te-Yuan Liu on August 01, 2021 ·
3 mins read
JavaScript Info 2.1.5 - Node properties: type, tag and contents
This time we take a more in-depth look at DOM nodes.
Posted by Te-Yuan Liu on August 02, 2021 ·
4 mins read
JavaScript Info 2.1.6 - Attributes and properties
When the browser loads the page, it reads the HTML and generates DOM objects from it. For element nodes, most standard HTML attributes automatically become properties of DOM objects. But the attribute-property mapping is not one to one and we are gonna discuss it here.
Posted by Te-Yuan Liu on August 03, 2021 ·
2 mins read
JavaScript Info 2.1.7 - Modifying the document
DOM modification changes the existing page content "on the fly" and is the key to creating "live" pages.
Posted by Te-Yuan Liu on August 04, 2021 ·
10 mins read
JavaScript Info 2.1.8 - Styles and classes
JavaScript can modify both classes and style properties but we should always prefer CSS classes to style.
Posted by Te-Yuan Liu on August 05, 2021 ·
3 mins read