Css and JavaScript.

Which code you use for dynamic catch problems solved in JavaScript and css?