Skip to content

mehrdad-soltanloo/javascript-color-flipper-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Flipper Plus

Color Flipper Plus is a simple web-based tool that allows users to generate random hex colors and view their most recent color history.

How to Use

  • Press the "Change Color" button to generate a new random hex color.
  • The background of the webpage will change to the new color.
  • The hex color code will be displayed on the screen.
  • The last three unique colors will be shown in a history section.

Installation

  • Clone the repository or download the files.
  • Open the index.html file in your browser.

Features

  • Random Hex Color Generation
  • Displays the current color in hex format
  • Stores and shows the last three generated colors in a color history section

Code Overview

  • Random Hex Color Generation: The color is generated using an array of hex values (0-9 and A-F).
  • Event Listener: On each button click, a random color is generated, and the background is updated.
  • History: The last three unique colors are stored and displayed in a color history section.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published