Skip to content

Denis793/Random_Color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Background Color Changer

View Project

Join Discussion


🖼️ Screenshot

Random Color Changer Screenshot


🔹 Features

  • Randomly generates a background color.
  • Displays the current background color in HEX format.
  • Responsive design.
  • Smooth and instant color change.
  • User-friendly interface with a stylish button.

🔍 How It Works

  • When the user clicks the "Change Color" button, a new random HEX color is generated.
  • The background of the page updates to the new color.
  • The HEX code of the current background color is displayed in real-time.

💡 Technologies Used

✨ HTML

  • Sets up the basic structure: a color display and a button.

🌟 CSS

  • Styles the background, text, and button.
  • Ensures responsive and clean layout.
  • Adds padding, rounded corners, and shadows for better visuals.

✨ JavaScript

  • Handles random color generation.
  • Updates the background color and the displayed HEX code dynamically.
  • Adds an event listener to the button for user interaction.

📅 Summary

This project is a fun and interactive way to learn about DOM manipulation, event handling, and color generation using HTML, CSS, and JavaScript.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •