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. How to Generate Random Background Colors With JavaScript

      How to Generate Random Background Colors With JavaScript

      Tutorial Beginner

      In this tutorial you’ll learn how to change the background color of a page randomly, using JavaScript. You’ll also learn how to modify your code to generate...

    2. 30 HTML Best Practices for Beginners

      30 HTML Best Practices for Beginners

      Tutorial Intermediate

      This tutorial is specifically for those who are just diving into web development. If you have one year of experience or less, hopefully some of the tips...

    3. How to Hide/Reveal a Sticky Header on Scroll (With JavaScript)

      How to Hide/Reveal a Sticky Header on Scroll (With JavaScript)

      Tutorial Intermediate

      In this tutorial we’ll learn how to hide the page header when scrolling down the page, then reveal it when scrolling up. As a bonus, we’ll also make the...

    4. A Comprehensive Guide to Flexbox Alignment

      A Comprehensive Guide to Flexbox Alignment

      Tutorial Intermediate

      Alignment is probably the most confusing aspect of flexbox. This tutorial will help you understand flexbox alignment perfectly.

    5. How to Build a Coming Soon Page With Lottie Animations

      How to Build a Coming Soon Page With Lottie Animations

      Tutorial Intermediate

      In a previous tutorial, we learned how to include Adobe After Effects animations on a page using the Lottie for Web library. Today, we’ll learn how to repeat...

    6. Switch Between Color Schemes with CSS Variables and JavaScript

      Switch Between Color Schemes with CSS Variables and JavaScript

      Tutorial Beginner

      In this tutorial, we’ll discuss how to implement different colour schemes (light mode, dark mode, 90’s neon mode, you name it) on your website using CSS...

    7. How to Preserve the Menu State on Page Load (Using Local Storage)

      How to Preserve the Menu State on Page Load (Using Local Storage)

      Tutorial Intermediate

      In this tutorial, we’ll create a simple static site with Tailwind CSS and then learn how to preserve its menu state on page load. Ready for another challenge?

    8. Build a JavaScript Page Loading Animation With GSAP

      Build a JavaScript Page Loading Animation With GSAP

      Tutorial Beginner

      In today’s tutorial, we’ll learn how to create a JavaScript page loading animation with GSAP, one of the most dominant and popular JavaScript animation...

    9. HTML5 Form Validation With the “pattern” Attribute

      HTML5 Form Validation With the “pattern” Attribute

      Tutorial Intermediate

      In this tutorial we’ll explore HTML’s pattern attribute, using it to help us customize the way we validate our forms.

    10. Top 18 Best Practices for Writing Super Readable Code

      Top 18 Best Practices for Writing Super Readable Code

      Tutorial Intermediate

      Code readability is fundamental for development—it is key to maintainability and working together with a team. This article will detail the 18 most important...

    11. 20+ Best Parallax WordPress Themes for 2025

      20+ Best Parallax WordPress Themes for 2025

      Tutorial Beginner

      Parallax scrolling (or parallax for short) has been popular in web design since around 2011. This post showcases a list of selected WordPress themes with...

    12. How to Customize a WordPress Theme With CSS

      How to Customize a WordPress Theme With CSS

      Tutorial Beginner

      When you want to learn how to customize a WordPress theme with CSS, one of the first things you’ll need to know is how to edit files within the theme itself.