Explain in CSS, how can you make a form element’s background color change when the user is entering text? Does this work in all browsers?

Yes, you can change the default look of form elements by styling their HTML tags: input, select and textarea but it won’t work for all browsers.