Skip to content

A website which cycles through the Pantones colour of the year. This website is also a hex colour generator

Notifications You must be signed in to change notification settings

caoviv/colour-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colour Generator - view website

This webpage has two options.

The first cycling through Pantones colour of the year from 2000-2022.

The second is a hex colour generator.

This was a good project to start working with the DOM.

In Leonardo Maldonado's article on why it is important to learn about the DOM, he states:

By manipulating the DOM, you have infinite possibilities. You can create applications that update the data of the page without needing a refresh. Also, you can create applications that are customizable by the user and then change the layout of the page without a refresh.

Key concepts covered:

  • arrays
  • document.getElementById()
  • document.querySelector()
  • addEventListener()
  • document.body.style.backgroundColor
  • Math.floor()
  • Math.random()
  • array.length

About

A website which cycles through the Pantones colour of the year. This website is also a hex colour generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published