Skip to content

Latest commit

 

History

History
21 lines (10 loc) · 971 Bytes

Readme.md

File metadata and controls

21 lines (10 loc) · 971 Bytes

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