Tag random color

Generating random color with JavaScript code

Write JavaScript to show the usage of setInterval function using which background color of a division keeps on changing to a random color every 2 seconds. Also use setTimeout function to show the content of a textbox as label of…