Learn HTML/CSS

Learn the fundamentals of web design with our HTML and CSS tutorials. Build landing pages, apps, websites, and more, with animations and other advanced effects.

Getting started with HTML/CSS

  • Design and Code Your First Website in 9 Easy-to-Understand Steps

    Design and Code Your First Website in 9 Easy-to-Understand Steps

    Nathan Umoh
  • HTML & CSS for Beginners (MEGA Free Course!)

    HTML & CSS for Beginners (MEGA Free Course!)

    Adi Purdila
  • All HTML/CSS content:

    1. Build a light/dark mode toggle switch component with CSS & JavaScript

      Build a light/dark mode toggle switch component with CSS & JavaScript

      Tutorial Intermediate

      In this new tutorial, we'll learn how to build a light/dark mode toggle switch component, a handy feature available in many sites and apps.

    2. 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...

    3. How to create a color gradient tool in JavaScript

      How to create a color gradient tool in JavaScript

      Tutorial Beginner

      Time to make things pop! By the end of this tutorial, you'll have your own gradient tool to generate CSS and create stunning gradients that bring a striking...

    4. Create a currency converter with HTML, CSS, and vanilla JavaScript

      Create a currency converter with HTML, CSS, and vanilla JavaScript

      Tutorial Intermediate

      Let’s create a currency converter using HTML, CSS, and vanilla JavaScript, with data from the Exchange Rate API.

    5. Build a “button-to-modal” animation with GSAP

      Build a “button-to-modal” animation with GSAP

      Tutorial Intermediate

      In this new tutorial, we’ll be working with GSAP, learning how to create an easy-to-follow, attractive, button-to-modal animation.

    6. How to build horizontal marquee effects with GSAP

      How to build horizontal marquee effects with GSAP

      Tutorial Intermediate

      Let me show you how to create infinite marquees with the GSAP JavaScript animation library. This is a common UX pattern I’m sure you’ve seen on plenty of sites.

    7. How to build a Connect Four game in HTML, CSS, and Vanilla JavaScript

      How to build a Connect Four game in HTML, CSS, and Vanilla JavaScript

      Tutorial Intermediate

      Follow along and learn how to build a fully functioning Connect Four game in HTML, CSS and Vanilla JavaScript.

    8. Build a website page configurator with CSS & JavaScript

      Build a website page configurator with CSS & JavaScript

      Tutorial Intermediate

      In this new tutorial, you’ll learn how to build a flexible website page configurator to customize the page UI on the fly. 

    9. Make your own URL shortener in JavaScript

      Make your own URL shortener in JavaScript

      Tutorial Beginner

      Have you ever wondered how those short URLs in social media bios are made? In today’s digital world, long URLs can look unappealing, especially in places...

    10. Create a slot machine game in vanilla JavaScript

      Create a slot machine game in vanilla JavaScript

      Tutorial Beginner

      Let me show you how to create a slot machine game in JavaScript. Play along, spin the wheels, and win some “money” if you are lucky!

    11. How to create animated snow on a website (with CSS and JavaScript)

      How to create animated snow on a website (with CSS and JavaScript)

      Tutorial Beginner

      In this tutorial, we’re going to implement an animated snow effect on a webpage using CSS and vanilla JavaScript, just in time for the holiday season.

    12. Create a breakout game with HTML, CSS, and vanilla JavaScript

      Create a breakout game with HTML, CSS, and vanilla JavaScript

      Tutorial Intermediate

      Let’s create a Breakout game using Vanilla JavaScript. In a Breakout game, the player uses a paddle to bounce a ball and hit bricks, removing the bricks one...