Skip to content

This is a Mini Project to Show the Demonstration of addEventLIstner using JavaScript. The project generates a random color for a box and displays the RGB color inside a div box and shows the color detail for the same in Heading(H3).

Notifications You must be signed in to change notification settings

Abhinandan-Sah/Random-Color-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini Project using addEventListner using JS

-> This is a Mini Project to Show the Demonstration of addEventLIstner using JavaScript. The project generates a random color for a box and displays the RGB color inside a div box and shows the color detail for the same in Heading(H3).

When the user clicks on the box, the color of the box changes to a new random color. The project uses addEventListener to listen for the click event on the box and then calls a function to generate a new random color.

Image of the project

->Image1 (This is front page)

2

->Image2 (After changing color)

1

Live Demo link to the project

-> Project Link

About

This is a Mini Project to Show the Demonstration of addEventLIstner using JavaScript. The project generates a random color for a box and displays the RGB color inside a div box and shows the color detail for the same in Heading(H3).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published