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 content:

  1. How to create an SVG viewer in HTML, CSS, and JavaScript

    How to create an SVG viewer in HTML, CSS, and JavaScript

    Tutorial Intermediate

    Let’s learn how to create an SVG viewer with HTML, CSS, and JavaScript. We’ll be able to write, paste, and edit SVG code, then preview and export the SVGs.

  2. Create a color contrast checker with HTML, CSS, and JavaScript

    Create a color contrast checker with HTML, CSS, and JavaScript

    Tutorial Intermediate

    In this tutorial, we’ll create a color contrast tool that lets you check the accessibility and readability of text, by comparing the ratio between background...

  3. How to create a mesh gradient generator in HTML, CSS and JavaScript

    How to create a mesh gradient generator in HTML, CSS and JavaScript

    Tutorial Beginner

    In this tutorial, we’ll learn how to build a fun and interactive mesh gradient generator that you can use to create beautiful mesh gradients and add them to...

  4. Build your own Typographic Scale tool with JavaScript

    Build your own Typographic Scale tool with JavaScript

    Tutorial Beginner

    Typography is a key element in web design. Good typography makes content easy to read, bringing balance and harmony to any layout. To ensure your designs...

  5. How to create a glassmorphism generator tool

    How to create a glassmorphism generator tool

    Tutorial Intermediate

    In this tutorial, we’ll build a glassmorphism generator tool to help us create customized frosted glass effects. The tool will also automatically generate...

  6. The best CSS and JavaScript carousel tutorials on Tuts+

    The best CSS and JavaScript carousel tutorials on Tuts+

    Tutorial Beginner

    Today, we'll explore the best CSS and JavaScript carousel tutorials currently available on Envato Tuts+. Sit back, relax, and enjoy the roundup!

  7. How to create a custom JavaScript sparkle cursor

    How to create a custom JavaScript sparkle cursor

    Tutorial Beginner

    In this tutorial, we will build a beautiful sparkle cursor animation from scratch using HTML, CSS, and JavaScript.

  8. How to animate on scroll with vanilla JavaScript

    How to animate on scroll with vanilla JavaScript

    Tutorial Intermediate

    In this tutorial, we’ll combine CSS animations and JavaScript event listeners to create an animate on scroll feature that works on all browsers.

  9. Create a confetti animation with HTML canvas and JavaScript

    Create a confetti animation with HTML canvas and JavaScript

    Tutorial Intermediate

    Have you ever clicked a button and seen a confetti animation explode onto the screen? Or visited a website where the whole screen is covered in that same...

  10. How to create a “blob generator” tool in JavaScript (Canvas tutorial)

    How to create a “blob generator” tool in JavaScript (Canvas tutorial)

    Tutorial Intermediate

    A slightly weird one, but in this tutorial, we’ll learn how to create a blob generator tool using HTML, CSS, and JavaScript. There’s a lot to learn!

  11. How to create an image compressor tool in JavaScript

    How to create an image compressor tool in JavaScript

    Tutorial Intermediate

    In this tutorial, I will guide you through creating an image compression tool that provides a simple yet powerful way to reduce image sizes without...

  12. How to build a JavaScript page loading animation

    How to build a JavaScript page loading animation

    Tutorial Intermediate

    Previously, we learned how to create a JavaScript page loading animation with GSAP. Today, let’s make another beautiful loading animation—this time without...