0

Back to Top Button

Having covered a great deal of theory, let’s now practice what we’ve learned with some exercises. To begin with, let’s see how we can create a “back to top” button.

Read More

Data Types

In this lesson, you’ll learn about the available “data types” in JavaScript. Let’s begin. Watch the full course in this playlist: https://www.youtube.com/playlist?list=PLgGbWId6zgaVq4pKsNGtV2w2ByQ9hTsi- If this course inspires you to learn JavaScript for web development, check out our comprehensive guide: https://code.tutsplus.com/series/learn-javascript-the-complete-guide–cms-1112?ec_promo=tuts_youtube&ec_unit=description&ec_topic=webdesign

Read More

Events

The term “JavaScript events” is perhaps a bit improper because the events are actually happening on the HTML side. All you can do in JS is listen to these events and react accordingly. Let’s see how.

Read More

Final Words

Hopefully by now you’ll have a better understanding of what you can do with JavaScript from a web design point of view. The exercises we walked through represent some very common elements that you might be required to create at some point. Of course, there are many more, and I strongly advise you to explore […]

Read More

Functions

In this lesson, you’ll learn about functions. You can think of functions as being “subprograms” which can have their own name, can be called anytime, can receive parameters, and can return a value. Let’s learn more.

Read More

If Else Statements

Let’s now look at the if/else statement. If you know any other programming language then you’ll already be familiar with the concept of conditional statements. If not, don’t worry—we’ll cover all of that in this lesson.

Read More

Variables

In this lesson, you’ll learn about variables. If you’ve ever used a CSS preprocessor like LESS or Sass then you’re already familiar with the concept of “variables”. Variables are used to store data in a specific format. They can contain numbers, strings of characters, and so on. Let’s learn more. Watch the full course in […]

Read More

Image Lightbox

In this exercise we’ll create a very simple image lightbox. A lightbox is usually an overlay that shows a much bigger version of a thumbnail–let’s dive in!

Read More

Loops

In this lesson, you’ll learn about loops in JavaScript. A loop is a piece of code that executes repeatedly, either a set number of times or until a certain condition is met. Let’s see how we can loop in JavaScript.

Read More