Many times when you’re taking a course on a technical topic, you will need to review the material or take a deeper dive into the concept, especially if it is a challenging topic. Sometimes tech skills do not come as easily as we would like and we need to realize that there will be times when we will need more practice. This page, Bite-sized JavaScript Lessons, is dedicated to common JavaScript topics that you may need to explore more deeply in order to understand them fully and gain more confidence. Topics are organized into beginner, intermediate and advanced-level topics.

If there is another topic you’d like to know more about, please let us know in the comments and we will work to develop a lesson.

 

Null and Undefined in JavaScript (Beginner)

If you are starting to learn about the different data types in JavaScript, null and undefined can sound like the same concept. This is often confusing, but it is important to understand the difference between these two data types so that you can properly debug your JavaScript code as errors arise. In this article, we demystify the official documentation on the topic and explain the differences between these data types and show clear examples of each.

DOM Manipulation in JavaScript (Beginner)

One of the things that makes programming challenging is the need to be exact. If there is even one error in your program, your code JavaScript will not run. Therefore, when you are starting out with learning web programming, it is important to celebrate small wins.

In this lesson, we cover a brief introduction to DOM manipulation that will allow you to use JavaScript to change HTML elements on a webpage.

 

If / Else Statements in JavaScript (Beginner)

if else statements graphicLearning how to add decision-making capabilities to programs is an exciting part of learning JavaScript. And since building this functionality into one’s code requires logical thinking rooted in mathematics, we begin with the root source of conditional logic and explain how to add it to a JavaScript program. Once a programmer can write if, else if and else statements with ease, programs can become more complex. This lesson outlines a detailed example of conditional logic and how it would be added to a program.