Skip to content

PirateCoderz/color-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 Color Changer App – Pirate Coderz ⚓

A simple and interactive React-based Color Changer built for learning UI/UX principles and React fundamentals.
Crafted with clean animations, responsive layout, and attention to accessibility.


🧠 What This Project Does

This mini project allows users to:

  • 🟥 Change the background color of a section by clicking color-labeled buttons
  • 🖼 See the selected color name displayed in real time
  • ✨ Experience smooth color transitions with hover effects
  • 📱 Enjoy a responsive layout for both desktop and mobile

It's the perfect demo for beginner React devs learning state, styling, and component design.


🚀 Tech Stack

  • ⚛️ React (CRA - Create React App)
  • 🎨 CSS for custom styling
  • 🧪 Jest and React Testing Library for testing

📁 Project Structure


piratecoderz-color-changer/
├── README.md
├── package.json
├── text.txt                  # Design decisions & notes
│
├── public/
│   ├── index.html
│   ├── manifest.json
│   └── robots.txt
│
└── src/
├── App.js               # Main component
├── App.css              # Custom styles
├── index.js             # Entry point
├── index.css            # Global styles
├── App.test.js          # Basic test
├── reportWebVitals.js
└── setupTests.js


🖥️ Live Preview

Coming soon on Netlify or Vercel... 🚀
(You can deploy easily using npm run build and connect to any static host.)


📦 Getting Started

# 1. Clone the repo
git clone https://github.com/piratecoderz/color-changer.git

# 2. Navigate to the folder
cd piratecoderz-color-changer

# 3. Install dependencies
npm install

# 4. Start the dev server
npm start

Open http://localhost:3000 in your browser to view the app.


✍️ Design Highlights

Summary from text.txt

  • Usability: Clear button labels, big text for current color, hover effects
  • 🧩 Accessibility: Strong contrast and white text for clarity
  • 📱 Responsiveness: Works beautifully on all screen sizes
  • 🎬 Smooth UX: Transitions make the color shift feel natural

💡 Ideas for Improvement

  • 🎨 Custom color input (color picker or hex code)
  • 🧭 Tooltips or micro-interactions on hover
  • 🌙 Dark mode support for enhanced accessibility

📜 License

This project is licensed under the MIT License.


👨‍💻 Made With ❤️ by

Ahmad Raza Frontend Developer @ Pirate Coderz ⚓ Let’s connect → LinkedIn


💬 Wanna Collaborate?

Got a mini project idea or want to learn React together? Drop a DM — Let's code something cool 🔥


About

React Color Changer with clean UI/UX – built by Pirate Coderz for frontend practice. Smooth transitions, responsive layout, and beginner-friendly code structure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors