Learn JavaScript for Designers

Bring your websites to life with interactive elements using JavaScript. These tutorials are tailored to web designers and are full of practical examples and tips.

All JavaScript for Designers tutorials:

  1. How to Implement Pagination with Vanilla JavaScript

    How to Implement Pagination with Vanilla JavaScript

    Tutorial Intermediate

    In this tutorial, we’ll build a fully functional pagination feature for a website using vanilla JavaScript. We’ll break down the logic into simple functions...

  2. How to Create a Split-Screen Slider With JavaScript

    How to Create a Split-Screen Slider With JavaScript

    Tutorial Intermediate

    In today’s video tutorial I’m going to show you how to create a “split-screen” element (or UI, whatever you prefer to call it) using JavaScript. Inspiration...

  3. How to Build a Shifting Underline Hover Effect With CSS and JavaScript

    How to Build a Shifting Underline Hover Effect With CSS and JavaScript

    Tutorial Intermediate

    In today’s tutorial, we’re going to use a little bit of CSS and JavaScript to create a fancy menu hover effect. It’s not a complicated end result, yet...

  4. How to Let Users Dynamically Change the Number of Posts per Page in WordPress

    How to Let Users Dynamically Change the Number of Posts per Page in WordPress

    Tutorial Advanced

    In this new tutorial we’ll learn how to give users the option to choose the number of posts they want to show per page.

  5. Create a Simple Math CAPTCHA for Your Forms With PHP and JavaScript

    Create a Simple Math CAPTCHA for Your Forms With PHP and JavaScript

    Tutorial Beginner

    Let’s reduce spam from form submissions. This technique will use PHP and JavaScript to block form submission until the user provides the correct answer to a...

  6. How to Create a Sticky Toolbar With CSS and a Bit of JavaScript

    How to Create a Sticky Toolbar With CSS and a Bit of JavaScript

    Tutorial Beginner

    In this new tutorial we’ll learn how to create a sticky (or fixed) toolbar, using CSS and a bit of JavaScript, with animated tooltips, that you can use on...

  7. How to Create a Scrollspy Navigation With UIkit

    How to Create a Scrollspy Navigation With UIkit

    Tutorial Intermediate

    Today, we’ll build a page with scrolling animations by taking advantage of UIkit’s Scrollspy component. 

  8. What is the DOM API (and How is it Used to Write JavaScript for the Web)?

    What is the DOM API (and How is it Used to Write JavaScript for the Web)?

    Tutorial Beginner

    In this high-level overview of the DOM and the DOM API we’ll look into the basics of how to write native JavaScript code for web browsers without using any...

  9. How to Build a UIkit Lightbox With Dot Navigation

    How to Build a UIkit Lightbox With Dot Navigation

    Tutorial Intermediate

    In this tutorial, we’ll focus on the UIkit front-end framework. More specifically, we’ll extend its super useful lightbox component by adding a dot...

  10. How to Build a Cursor Hover Effect With JavaScript Mouse Events and GSAP

    How to Build a Cursor Hover Effect With JavaScript Mouse Events and GSAP

    Tutorial Intermediate

    In this tutorial, we’ll work with two JavaScript mouse events and GSAP to build a creative effect that you’ve probably seen somewhere on a website: a custom...

  11. How to Send Serverless Emails With Node.js

    How to Send Serverless Emails With Node.js

    Tutorial Intermediate

    This tutorial will build a simple serverless service using AWS Lambda, the Serverless Framework, NodeMailer, and Mailtrap for email testing.

  12. How to Build a Draggable Image Gallery and a Custom Lightbox With GSAP

    How to Build a Draggable Image Gallery and a Custom Lightbox With GSAP

    Tutorial Intermediate

    Let's build a responsive JavaScript image gallery with a draggable featured image/main slide plus a custom lightbox. To make the target element draggable,...