Skip to content

Ted-Voo/Color-Clicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Clicker

A React-based interactive color clicking game with dynamic color logging.

Color Clicker Screenshot


Overview

Color Clicker is a small interactive web application built with React that allows users to click colored squares to generate random colors. Each clicked color is logged and displayed with its corresponding hex value. The app demonstrates proficiency in React state management, component design, and front-end UI layout.


Technologies Used

  • Frontend: React, JSX, CSS
  • State Management: React useState hooks
  • Version Control: Git & GitHub

Key Features

  • Interactive Color Squares: Click any square to generate a new random color.
  • Color Logging: Every clicked color is displayed below with its hex code.
  • Responsive UI: Layout is centered both vertically and horizontally using flexbox.
  • Dynamic Color Display: Real-time updates to the squares and the log.
  • Optional Color Name Lookup: Hex values can be mapped to human-readable color names.

Learning Outcomes

Building this project helped me strengthen my skills in:

  1. React Fundamentals – Components, props, state, and event handling.
  2. Front-End Layout – Using CSS flexbox to center content and align elements.
  3. Dynamic UI Updates – Real-time color changes and logging.
  4. Problem Solving – Handling layout bugs, off-center elements, and dynamic data.
  5. Project Structuring – Creating modular, reusable components (ColorBox) and maintaining clean code.

Installation

Clone the repository:

git clone https://github.com/Ted-Voo/Color-Clicker.git
cd Color-Clicker
npm install
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors