Okay! Let's dive in with a bit of motivation.
2. Variables declaration
const is used to declare variables.
3. Data types
4. Type conversion
5. Math Operation
There are several math operations namely “unary”, “binary”, “operant”, basic mathematic operation, reminder operator, exponentiation, string concatenation, assignment operator, increment and decrement operator, bitwise operators. Each of these operations have important role when manipulating data.
6. Variable comparison
7. If and switch statement
Sometimes, it is needed to perform different actions based on different conditions. There are three popular ways to do this. One way is using
if statement, another is
if ... else statement and last one is
switch statement. Each of the statement is used to check conditions but they should be used in its suitable places.
8. Logical Operators
Loop is a block or a piece of code which is used to execute a repeated task. Basically, there are three types of loops such as
Function is a block of code which is used to execute a particular task. It can be called in different place as much as needed. It’s important to understand function declaration, function parameter, default and alternative parameter, arguments, and return value.
12. HTM DOM
The Document Object Model (DOM) is a programming interface for HTML and XML documents. It represents the structure of a document as a tree of nodes, where each node corresponds to an element or an attribute in the document.
Without "use strict", everything still works, but some features behave in the old-fashioned, “compatible” way. We’d generally prefer the modern behavior.
I will write more and inadept explanation with code examples about each of the above topics. If you are looking for premium content about web development stick around.
I will also write about CSS and web development frameworks like ReactJS and NodeJS.
Top comments (0)