Problems 3 and 4

Problem 3 These three divs turn State Red (#CC0000) when they are entered and return to white when exited.

Problem 4 Every time you click on this button, the count of clicks it displays should go up 1. Hint: The creative use of a span cna make this work, but it's not the only way.