Moocable is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Build a Color Tool in Vanilla JavaScript

via Scrimba

Description

Build a cool color lighten/darken tool from scratch and sharpen up your HTML, CSS and vanilla JavaScript skills along the way!

  • Check for a valid hex color
  • Convert hex to RGB
  • Display percentage from slider
  • Alter color by percentage
  • Create a toggle
  • Reset functionality
  • parseInt
  • textContent
  • Math.min and Math.max
  • HTML DOM style Property

Online Courses

Scrimba

Free

1 hour 22 minutes

Build a Color Tool in Vanilla JavaScript

via Scrimba
Affiliate notice

  • Type
    Online Courses
  • Provider
    Scrimba
  • Pricing
    Free
  • Duration
    1 hour 22 minutes

Build a cool color lighten/darken tool from scratch and sharpen up your HTML, CSS and vanilla JavaScript skills along the way!
  • Check for a valid hex color
  • Convert hex to RGB
  • Display percentage from slider
  • Alter color by percentage
  • Create a toggle
  • Reset functionality
  • parseInt
  • textContent
  • Math.min and Math.max
  • HTML DOM style Property