Javascript & Jquery

  

Javascript & Jquery

When the user moves the mouse over the text box, print the name of the color inside the text box. When the user moves the mouse back outside of the text box, remove the name of the color.
Add a button to the website. When the user clicks the button, toggle which text boxes are visible.
When the user clicks the first time, hide the first text box.
When the user clicks the second time, hide the second text box, but show the first and third text boxes.
When the user clicks the third time, show the first and second text boxes and hide the third text box.
If the user clicks again, go back to showing the second and third and hiding the first.
And so on.
If the user double-clicks the button, start over and show all three text boxes.

Tags: No tags